X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=grml-live;h=a68dfa8ee1339f3bce3617908c8c0bcfc8cc485c;hb=7874a87c8f7f847e3096f7044f48c70649c1963f;hp=19b9cd1fc3c20bec9863c5d194459d39d630195a;hpb=ef40edad37bfffcd3c08eb13695da981e52a1a36;p=grml-live.git 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 "------------------------------------------------------------------------------"