drop log call when trying to source /etc/grml/grml-live.conf
authorMichael Prokop <mika@grml.org>
Tue, 2 Oct 2012 08:22:29 +0000 (10:22 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 2 Oct 2012 08:22:31 +0000 (10:22 +0200)
We don't have log() available at that stage yet.

grml-live

index 1aad976..a6dcafb 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -148,9 +148,8 @@ fi
 # source main configuration file:
 LIVE_CONF=/etc/grml/grml-live.conf
 if ! [ -r "$LIVE_CONF" ] ; then
 # source main configuration file:
 LIVE_CONF=/etc/grml/grml-live.conf
 if ! [ -r "$LIVE_CONF" ] ; then
-  log "Configuration file $LIVE_CONF can not be read, ignoring"
+  ewarn "Configuration file $LIVE_CONF can not be read, ignoring"
 else
 else
-  log   "Sourcing configuration file $LIVE_CONF"
   einfo "Sourcing configuration file $LIVE_CONF"
   . $LIVE_CONF
   eend $?
   einfo "Sourcing configuration file $LIVE_CONF"
   . $LIVE_CONF
   eend $?