base/dracut-lib.sh: do not setdebug, if not in initramfs

master
Harald Hoyer 2013-04-18 12:54:30 +02:00
parent 9268366cad
commit 2b125c69cc
1 changed files with 1 additions and 0 deletions

View File

@ -325,6 +325,7 @@ splitsep() {
}

setdebug() {
[ -f /etc/initrd-release ] || return
if [ -z "$RD_DEBUG" ]; then
if [ -e /proc/cmdline ]; then
RD_DEBUG=no