From: Alexander Barton Date: Wed, 4 May 2016 11:58:15 +0000 (+0200) Subject: backup-script-wrapper: Show command line X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=274b967c3d86e1753286c23c95864ef4658f04ce;p=backup-script.git backup-script-wrapper: Show command line --- diff --git a/bin/backup-script-wrapper b/bin/backup-script-wrapper index a2de1d7..456f468 100755 --- a/bin/backup-script-wrapper +++ b/bin/backup-script-wrapper @@ -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"