diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-23 15:37:33 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-23 15:37:33 +0200 |
commit | f867bede10e32ace2b3eff172cfa2075e6431ff6 (patch) | |
tree | abece764d1dc126b998bbff8be21d03068b237b8 | |
parent | fix(pkgs/stamp): Break from the `while` loop not the `case` (diff) | |
download | nixos-config-f867bede10e32ace2b3eff172cfa2075e6431ff6.tar.gz nixos-config-f867bede10e32ace2b3eff172cfa2075e6431ff6.zip |
fix(pkgs/stamp): Recognize unknown commands
-rwxr-xr-x | pkgs/by-name/st/stamp/stamp.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/by-name/st/stamp/stamp.sh b/pkgs/by-name/st/stamp/stamp.sh index 4c594767..15bf887a 100755 --- a/pkgs/by-name/st/stamp/stamp.sh +++ b/pkgs/by-name/st/stamp/stamp.sh @@ -73,6 +73,8 @@ while [ "$#" -gt 0 ] && [ "$run" = true ]; do # The files should now be in $@ run=false ;; + *) + die "Unknown command: $1" esac done |