summaryrefslogtreecommitdiff
path: root/source3/script/smbtar
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@samba.org>1999-06-10 10:16:26 +0000
committerAlexandre Oliva <oliva@samba.org>1999-06-10 10:16:26 +0000
commit042213eb2277518a918f0687fdb2968196585638 (patch)
tree1594b8f9944d7b2ed2c32ba9b0d596031a2cefc9 /source3/script/smbtar
parentb097ddb724b54812ea5e116bf2069bc912f225a4 (diff)
downloadsamba-042213eb2277518a918f0687fdb2968196585638.tar.gz
samba-042213eb2277518a918f0687fdb2968196585638.tar.bz2
samba-042213eb2277518a918f0687fdb2968196585638.zip
Use ${1+"$@"} instead of $*
Reported by SATOH Fumiyasu <fumiya@cij.co.jp> (This used to be commit 6cd8d68965734ac24effde927c689f7d5202cde1)
Diffstat (limited to 'source3/script/smbtar')
-rw-r--r--source3/script/smbtar2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/smbtar b/source3/script/smbtar
index 203d24cf63..f04eddc32b 100644
--- a/source3/script/smbtar
+++ b/source3/script/smbtar
@@ -157,5 +157,5 @@ fi
eval $SMBCLIENT "'\\\\$server\\$service'" "'$password'" -U "'$username'" \
-E -N $log -D "'$cdcmd'" ${clientargs} \
--T${tarcmd}${tarargs} $blocksize $newer $tapefile $* $verbose
+-T${tarcmd}${tarargs} $blocksize $newer $tapefile '${1+"$@"}' $verbose