]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: only 'warn' not 'error', if we don't strip
authorHarald Hoyer <harald@redhat.com>
Fri, 19 Oct 2012 09:20:07 +0000 (11:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 19 Oct 2012 09:20:30 +0000 (11:20 +0200)
dracut.sh

index aab850e34e7ba3682c3e3ad410920cc1d8c5fbc6..e463404b03a17d2f6312d2fcd5b58885dcac3318 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -1031,7 +1031,7 @@ fi
 if [[ $do_strip = yes ]] ; then
     for p in strip xargs find; do
         if ! type -P $p >/dev/null; then
-            derror "Could not find '$p'. You should run $0 with '--nostrip'."
+            dwarn "Could not find '$p'. Not stripping the initramfs."
             do_strip=no
         fi
     done