Show a summary line including the result code
authorAlexander Barton <alex@barton.de>
Sun, 22 Oct 2017 16:58:06 +0000 (18:58 +0200)
committerAlexander Barton <alex@barton.de>
Sun, 22 Oct 2017 16:58:06 +0000 (18:58 +0200)
scripts/trigger-rcmd

index ec70d958f2864ae3c42912115fbbccb615d3bb4f..5d96d7fae9aab9bb9585bc7ac576dcd6adfbd76a 100755 (executable)
@@ -171,6 +171,7 @@ while [ $# -gt 0 ]; do
                [ -z "$NO_WAKE" ] || [ $r -ne 9 ] && result=1
        fi
        shift
-       [ $# -gt 0 ] && echo
 done
+
+echo "$NAME: All done, exit code $result - $(date "+%Y-%m-%d %H:%M:%S")"
 exit $result