Package not found: home:mcalabkova:branches:devel:languages:python:django:leap/kf6-knotifications

File 0187-Do-not-open-an-unprotected-root-shell-on-failure.patch of Package dracut.4406

From: Thomas Renninger <trenn@suse.de>
Date: Mon, 19 Oct 2015 09:22:34 +0200
Subject: Do not open an unprotected root shell on failure

References: bsc#936736

Signed-off-by: Thomas Renninger <trenn@suse.de>
---
 modules.d/98systemd/dracut-emergency.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules.d/98systemd/dracut-emergency.sh b/modules.d/98systemd/dracut-emergency.sh
index 5771dc5..e2d8abd 100755
--- a/modules.d/98systemd/dracut-emergency.sh
+++ b/modules.d/98systemd/dracut-emergency.sh
@@ -17,7 +17,7 @@ export _rdshell_name="dracut" action="Boot" hook="emergency"
 source_hook "$hook"
 
 
-if getargbool 1 rd.shell -d -y rdshell || getarg rd.break -d rdbreak; then
+if getargbool 0 rd.shell -d -y rdshell || getarg rd.break -d rdbreak; then
     echo
     rdsosreport
     echo
-- 
1.8.4.5

openSUSE Build Service is sponsored by