]> arthur.barton.de Git - backup-script.git/commitdiff
backup-script-wrapper: Show command line
authorAlexander Barton <alex@barton.de>
Wed, 4 May 2016 11:58:15 +0000 (13:58 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 4 May 2016 11:58:15 +0000 (13:58 +0200)
bin/backup-script-wrapper

index a2de1d797557c17722d885cca029f83f87fcfaed..456f468df17a819314aec23e04f2a8106ed9bcf7 100755 (executable)
@@ -49,6 +49,9 @@ echo
 echo " - Host: `hostname -f`"
 echo " - User: `id -un`"
 echo
+echo "Command:"
+echo "$0" "$@"
+echo
 
 if echo "$DELIMITER" >>"$LOGFILE" 2>/dev/null; then
        echo >>"$LOGFILE"