]> www.infradead.org Git - users/dwmw2/ews-sync.git/commitdiff
Pass all args when restarting
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 17 Jul 2010 21:10:42 +0000 (22:10 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 17 Jul 2010 21:10:42 +0000 (22:10 +0100)
syncfolder.sh

index cf0c9ee85a3b24451ad455f87386919b799839e5..7f718fdfadb47107a431a3955c850eb7fb8043fd 100755 (executable)
@@ -117,7 +117,7 @@ done
 echo $NEWSYNCSTATE > ~/.ews-syncstate
 if [ "$MORETOCOME" == "true" ]; then
     echo Restarting to fetch more items
-    exec "$0" "$1"
+    exec "$0" "$@"
 fi
 ( cat <<EOF
 BEGIN:VCALENDAR