mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
fixup svd: dont do set +e
This commit is contained in:
parent
c39cb39afe
commit
42b95bd00f
1 changed files with 1 additions and 6 deletions
|
|
@ -17,14 +17,9 @@ writeText "login-inner" ''
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${lib.optionalString config.supervisord.enable ''
|
${lib.optionalString config.supervisord.enable ''
|
||||||
set +e
|
|
||||||
if [ ! -e "${config.supervisord.socketPath}" ]; then
|
if [ ! -e "${config.supervisord.socketPath}" ]; then
|
||||||
${config.supervisord.package}/bin/supervisord -c /etc/supervisord.conf
|
${config.supervisord.package}/bin/supervisord -c /etc/supervisord.conf || echo "Warning: supervisord failed to start"
|
||||||
if [ $? != 0 ]; then
|
|
||||||
echo "Warning: supervisord failed to start"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
set -e
|
|
||||||
''}
|
''}
|
||||||
|
|
||||||
${lib.optionalString config.build.initialBuild ''
|
${lib.optionalString config.build.initialBuild ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue