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 aab850e..e463404 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