summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-08 22:56:13 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-02-08 22:56:43 +0100
commit0f4f2cf45ad5f8a501ccf91154d7595f8a3a3813 (patch)
tree5ad7e8ebd03adb84d4da18a65d18614a33bddf1b
parentbf31ca575f80849dac9af994e5fab283d3e226dd (diff)
runsystem.hurd.sh: Do not try to set up translators if we do not have settrans
-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 d8c1ccbd..a2e464a7 100644
--- a/daemons/runsystem.hurd.sh.in
+++ b/daemons/runsystem.hurd.sh.in
@@ -61,7 +61,7 @@ singleuser ()
#
# Normally this should be the case, but we better make sure since
# without the pflocal server, pipe(2) does not work.
-if ! test -e /servers/socket/1 ; then
+if ! test -e /servers/socket/1 && command -v settrans >/dev/null ; then
# The root filesystem should be read-only at this point.
if fsysopts / --update --writable ; then
settrans -c /servers/socket/1 /hurd/pflocal