From 4667bb17caf3dd0c783fe4d07986fbc07d6cec24 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 21 Sep 2007 11:44:49 +0200 Subject: [PATCH] Make sure LOGDIR exists --- grml-live | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grml-live b/grml-live index 407cc17..23052f5 100755 --- a/grml-live +++ b/grml-live @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Thu Sep 20 13:25:31 CEST 2007 [mika] +# Latest change: Fri Sep 21 11:44:43 CEST 2007 [mika] ################################################################################ # read configuration files, set some misc variables {{{ @@ -63,7 +63,7 @@ trap bailout 1 2 3 15 [ -n "$RELEASENAME" ] || RELEASENAME="grml-live rocks" [ -n "$LOGDIR" ] || LOGDIR="/var/log/fai/dirinstall/$HOSTNAME" -[ -d "$LOGDIR" ] || mkdir $LOGDIR +[ -d "$LOGDIR" ] || mkdir -p $LOGDIR LOGFILE="$LOGDIR/grml-live.conf" # }}} -- 2.1.4