forked from pool/systemd
53e4623893
update to v201 OBS-URL: https://build.opensuse.org/request/show/163799 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=363
23 lines
667 B
Diff
23 lines
667 B
Diff
From: Frederic Crozat <fcrozat@suse.com>
|
|
Date: Tue, 4 Dec 2012 16:51:32 +0000
|
|
Subject: Ensure debugshell has a correct value
|
|
|
|
use /bin/bash if sushell isn't installed (bnc#789052).
|
|
---
|
|
units/debug-shell.service.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/units/debug-shell.service.in b/units/debug-shell.service.in
|
|
index a6acad3..64b5e0d 100644
|
|
--- a/units/debug-shell.service.in
|
|
+++ b/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
|