forked from pool/systemd
1a1dacce06
(forwarded request 144458 from elvigia) OBS-URL: https://build.opensuse.org/request/show/144473 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=116
14 lines
435 B
Diff
14 lines
435 B
Diff
Index: systemd-195/units/debug-shell.service.in
|
|
===================================================================
|
|
--- systemd-195.orig/units/debug-shell.service.in
|
|
+++ systemd-195/units/debug-shell.service.in
|
|
@@ -13,7 +13,7 @@ IgnoreOnIsolate=yes
|
|
|
|
[Service]
|
|
Environment=TERM=linux
|
|
-ExecStart=@sushell@
|
|
+ExecStart=/bin/bash -c '[ -x @sushell@ ] && exec @sushell@ || exec /bin/bash'
|
|
Restart=always
|
|
RestartSec=0
|
|
StandardInput=tty
|