From 8e3b14d2d0d8ce074dc941b0246feaaf00e67edf Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 27 Apr 2014 19:41:54 +0200 Subject: be more verbose --- bin/common-functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/common-functions.sh b/bin/common-functions.sh index 7da3f7fb..30094264 100755 --- a/bin/common-functions.sh +++ b/bin/common-functions.sh @@ -4,7 +4,7 @@ # released under the GPLv=2 common_cleanup(){ - echo "Cleaned up $TTT, finished running $0" + echo "$(date) - $0 stopped running as $TTT, which will now be removed." rm -f $TTT } @@ -23,7 +23,7 @@ if [ "${0:0:5}" != "/tmp/" ] ; then # (Running shell scripts fail weirdly when overwritten when running, # this hack makes it possible to overwrite long running scripts # anytime...) - echo "Start running \"$0\" as \"$TTT\" with arguments \"$@\"" + echo "$(date) - start running \"$0\" as \"$TTT\" using \"$@\" as arguments." $TTT "$@" exit $? # cleanup is done automatically via trap -- cgit v1.2.3-54-g00ecf