about summary refs log tree commit diff
path: root/scripts/install-multi-user.sh
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-05-30T13·11-0400
committerGraham Christensen <graham@grahamc.com>2018-05-30T13·15-0400
commitd459d3307c7b1b10f6489ed048fff192e7834928 (patch)
tree3920a3dc4f1a0408fce22cd8b9e9a1a20197969a /scripts/install-multi-user.sh
parentf9940f47b36df396799d90c3ff691a1ef0c45c35 (diff)
nix-daemon.sh profile script: operate under `set -u`
If the profile is sourced inside a script with `set -u`, the check for
__ETC_PROFILE_NIX_SOURCED and NIX_SSL_CERT_FILE would raise an error.
A simple guard around this check allows the script to operate under
standard environments (where it is fairly reasonable to assume USER
and HOME are set.)
Diffstat (limited to 'scripts/install-multi-user.sh')
0 files changed, 0 insertions, 0 deletions