summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-08-10 09:57:57 +0000
committerJim Meyering <jim@meyering.net>2002-08-10 09:57:57 +0000
commit01ac2fda311c61c0067e8deae9ff4bd1d2fe44d9 (patch)
tree75afe877a8576101a3d16d68fa57f22bd648cc8f
parentf12b040a86237590002fb58aefb13bbff5d4603b (diff)
downloadcoreutils-01ac2fda311c61c0067e8deae9ff4bd1d2fe44d9.tar.xz
Don't use "exec --"; it's not portable and shouldn't be needed.
-rwxr-xr-xsrc/nohup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nohup.sh b/src/nohup.sh
index 6e720c907..de3af298f 100755
--- a/src/nohup.sh
+++ b/src/nohup.sh
@@ -76,4 +76,4 @@ if [ -t 2 ]; then
exec 2>&1
fi
-exec -- "$@"
+exec "$@"