about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/scripts/source/apps
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-28 20:49:03 +0100
committerSoispha <soispha@vhack.eu>2024-02-28 20:49:03 +0100
commit564a52f800baf315e9fc40248360a995bd0c6040 (patch)
tree66aa74b636e9d086eab360bdce846c1efc57da50 /sys/nixpkgs/pkgs/scripts/source/apps
parentfix(hm/pkgs): Put all my scripts in the `scripts` namespace (diff)
downloadnixos-config-564a52f800baf315e9fc40248360a995bd0c6040.tar.gz
nixos-config-564a52f800baf315e9fc40248360a995bd0c6040.zip
fix(pkgs/scripts/fupdate): Exit after running the main loop
Diffstat (limited to '')
-rwxr-xr-xsys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh
index ea0a770c..e398f0fd 100755
--- a/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh
+++ b/sys/nixpkgs/pkgs/scripts/source/apps/fupdate.sh
@@ -129,6 +129,7 @@ main() {
 
 if [ "$#" -eq 0 ]; then
     main
+    exit 0
 fi
 
 for input in "$@"; do