From 7874a87c8f7f847e3096f7044f48c70649c1963f Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 28 Sep 2007 23:04:49 +0200 Subject: [PATCH] Make sure $SECONDS is set --- debian/changelog | 6 ++++++ grml-live | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 6a4c673..2980869 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +grml-live (0.0.3) unstable; urgency=low + + * Make sure $SECONDS is set. + + -- Michael Prokop Fri, 28 Sep 2007 23:04:24 +0200 + grml-live (0.0.2) unstable; urgency=low * Add support for amd64. diff --git a/grml-live b/grml-live index 19b9cd1..a68dfa8 100755 --- a/grml-live +++ b/grml-live @@ -390,7 +390,7 @@ fi # }}} # finalize {{{ -SECONDS="$[$(cut -d . -f 1 /proc/uptime)-$start_seconds]" +[ -n "$start_seconds" ] && SECONDS="$[$(cut -d . -f 1 /proc/uptime)-$start_seconds]" einfo "Sucessfully finished execution of $PN [running ${SECONDS} seconds]" ; eend 0 log "Sucessfully finished execution of $PN [running ${SECONDS} seconds]" log "------------------------------------------------------------------------------" -- 2.1.4