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:
command:
- code: |
export COMMAND='/usr/bin/id'
COMMAND='/usr/bin/id'
nohup "$COMMAND"
cat nohup.out
sudo:
- code: |
export COMMAND='/usr/bin/id'
COMMAND='/usr/bin/id'
sudo nohup "$COMMAND"
sudo cat nohup.out
---