]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut: fixed "Clean up some conditional checking..."
authorHarald Hoyer <harald@redhat.com>
Mon, 23 Aug 2010 09:58:39 +0000 (11:58 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Aug 2010 09:58:39 +0000 (11:58 +0200)
dracut

diff --git a/dracut b/dracut
index b1bd3573bfbec52f58c1bf82d9120a5404e95b4a..b43c6476c7c4a5174ef76fae2016c857507d3f75 100755 (executable)
--- a/dracut
+++ b/dracut
@@ -172,7 +172,7 @@ if [[ ! -f $conffile ]]; then
 fi
 
 if [[ ! -d $confdir ]]; then
-    [[ $allowlocal ]] && confdir="$dracutbasedir/dracut.conf.d" \
+    [[ $allowlocal ]] && confdir="$dracutbasedir/dracut.conf.d" || \
         confdir="/etc/dracut.conf.d"
 fi