summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-08 22:57:36 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-08 22:57:36 +0100
commit9bc2a9158b30cc217e93c85e72a62d164c3a9b73 (patch)
treeb575e750e87f607d7249b381c1ed5afe44712be6
parent9db0275c53334eb3efd26ea272f81c242af3f79b (diff)
runsystem.hurd.sh: Try to run bash first
Some systems have /bin/sh pointing to dash, which is even more stressful for users when running in an emergency. Better first try bash. Also try dash too in case /bin/sh is hosed.
-rw-r--r--daemons/runsystem.hurd.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/runsystem.hurd.sh.in b/daemons/runsystem.hurd.sh.in
index 58cfbe7b..f4ed0a5a 100644
--- a/daemons/runsystem.hurd.sh.in
+++ b/daemons/runsystem.hurd.sh.in
@@ -17,7 +17,7 @@ export PATH
umask 022
# If we lose badly, try to exec each of these in turn.
-fallback_shells='/bin/sh /bin/bash /bin/csh /bin/ash /bin/shd'
+fallback_shells='/bin/bash /bin/sh /bin/dash /bin/csh /bin/ash /bin/shd'
# Shell used for normal single-user startup.
SHELL=/bin/sh