diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-02 21:47:53 +0200 |
---|---|---|
committer | Silas Schöffel <sils@sils.li> | 2024-06-05 18:45:48 +0200 |
commit | 4721eb7a3c13baddd2c8bf957f99b98d31dcf7b6 (patch) | |
tree | 7ba7625b3efd70a8bf555099a63a254d4964dc7e /modules | |
parent | fix(nix-sync): Ensure that the `target` for `ln` never ends with a `/` (diff) | |
download | nixos-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 'modules')
0 files changed, 0 insertions, 0 deletions