about summary refs log tree commit diff stats
path: root/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh')
-rwxr-xr-xpkgs/by-name/fu/fupdate-flake/fupdate-flake.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh b/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh
index 5b8da3ce..00c1e443 100755
--- a/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh
+++ b/pkgs/by-name/fu/fupdate-flake/fupdate-flake.sh
@@ -169,7 +169,7 @@ update() {
     "$update_script" "$@"
 
     if [ -f "flake.lock" ] && grep '[^0-9]_[0-9]' flake.lock --quiet; then
-        batgrep '[^0-9]_[0-9]' flake.lock
+        grep '[^0-9]_[0-9]' flake.lock
         die "Your flake.nix contains duplicate inputs!"
     fi
 }
@@ -189,6 +189,6 @@ main() {
     fi
 }
 
-main
+main "$@"
 
 # vim: ft=sh