Fix syntax error
[grml-live.git] / etc / grml / fai / live-initramfs / grml-script.init-top
index a9bd284..367f79f 100755 (executable)
@@ -119,11 +119,13 @@ fi
 echo ""
 echo "${WHITE}Welcome to"
 echo "$SPLASH"
-
-echo
-log_grml_begin_msg "Running $GRML_VERSION"
 echo
 
+if [ -n "$GRML_VERSION" ] ; then
+   log_grml_begin_msg "Running $GRML_VERSION"
+   echo
+fi
+
 # don't output anything if running with bootsplash feature
 if checkbootparam "splash" ; then
   exec >/dev/null </dev/null 2>&1