summaryrefslogtreecommitdiff
path: root/src/nohup.sh
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-07-26 03:44:37 +0000
committerJim Meyering <jim@meyering.net>1994-07-26 03:44:37 +0000
commit7b5a41383b0a6534f9cccc10a716479f554bc9be (patch)
tree6d75cbadaac03bc5c896d4e9d738c3fddc9c0112 /src/nohup.sh
parent6cab7081628395d62eb223d9225b792ebccf7313 (diff)
downloadcoreutils-7b5a41383b0a6534f9cccc10a716479f554bc9be.tar.xz
.
Diffstat (limited to 'src/nohup.sh')
-rwxr-xr-xsrc/nohup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nohup.sh b/src/nohup.sh
index 3eae66747..87f864d41 100755
--- a/src/nohup.sh
+++ b/src/nohup.sh
@@ -59,14 +59,14 @@ if [ -t 1 ]; then
if cat /dev/null >> nohup.out; then
echo "nohup: appending output to \`nohup.out'" 2>&1
umask $oldmask
- exec nice -5 "$@" >> nohup.out 2>&1
+ exec nice -5 -- "$@" >> nohup.out 2>&1
else
cat /dev/null >> $HOME/nohup.out
echo "nohup: appending output to \`$HOME/nohup.out'" 2>&1
umask $oldmask
- exec nice -5 "$@" >> $HOME/nohup.out 2>&1
+ exec nice -5 -- "$@" >> $HOME/nohup.out 2>&1
fi
else
umask $oldmask
- exec nice -5 "$@"
+ exec nice -5 -- "$@"
fi