Ensure a correct value for $BASH
Previously it was set to /run/current-system/sw/sbin/nologin or similar.
This commit is contained in:
parent
78b01de68d
commit
1455ecee73
@ -176,10 +176,11 @@ fi
|
||||
|
||||
# Check that the pre-hook initialised SHELL.
|
||||
if [ -z "$SHELL" ]; then echo "SHELL not set"; exit 1; fi
|
||||
BASH="$SHELL"
|
||||
export CONFIG_SHELL="$SHELL"
|
||||
|
||||
|
||||
# Execute the pre-hook.
|
||||
export CONFIG_SHELL="$SHELL"
|
||||
if [ -z "$shell" ]; then export shell=$SHELL; fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user