Remove export from nohup

This commit is contained in:
Andrea Cardaci 2020-03-15 12:14:02 +01:00
parent dfbe9e8bef
commit 8eaeb29c18

View File

@ -2,12 +2,12 @@
functions: functions:
command: command:
- code: | - code: |
export COMMAND='/usr/bin/id' COMMAND='/usr/bin/id'
nohup "$COMMAND" nohup "$COMMAND"
cat nohup.out cat nohup.out
sudo: sudo:
- code: | - code: |
export COMMAND='/usr/bin/id' COMMAND='/usr/bin/id'
sudo nohup "$COMMAND" sudo nohup "$COMMAND"
sudo cat nohup.out sudo cat nohup.out
--- ---