summary refs log tree commit diff stats
path: root/system/disks
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-02 21:47:53 +0200
committerSilas Schöffel <sils@sils.li>2024-06-05 18:45:48 +0200
commit4721eb7a3c13baddd2c8bf957f99b98d31dcf7b6 (patch)
tree7ba7625b3efd70a8bf555099a63a254d4964dc7e /system/disks
parentfix(nix-sync): Ensure that the `target` for `ln` never ends with a `/` (diff)
downloadnixos-server-4721eb7a3c13baddd2c8bf957f99b98d31dcf7b6.tar.gz
nixos-server-4721eb7a3c13baddd2c8bf957f99b98d31dcf7b6.zip
fix(nix-sync): Don't try to exit in a subshell
The `(cmd1 && cmd2)` pattern works, but fails with commands like `exit`
as the parentheses start a new subshell, which the `exit` command will
then close instead of exiting the main shell.
The curly brackets have the intended effect here, as they simply group
the commands together.
Diffstat (limited to 'system/disks')
0 files changed, 0 insertions, 0 deletions