bento: typo fix in status message

This commit is contained in:
Markus Wamser 2023-05-30 13:25:12 +02:00 committed by GitHub
parent 33fc1e2772
commit 428bd2d374
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
bento
View File

@ -629,7 +629,7 @@ else
MATCH=$(echo "$FLAKES" | awk -v name="${NAME}" 'BEGIN { sum = 0 } name == $1 { sum=sum+1 } END { print sum }') MATCH=$(echo "$FLAKES" | awk -v name="${NAME}" 'BEGIN { sum = 0 } name == $1 { sum=sum+1 } END { print sum }')
if [ "$MATCH" -ne 1 ] if [ "$MATCH" -ne 1 ]
then then
echo "Found ${MATCH} system with this name" echo "Found ${MATCH} systems with this name"
exit 2 exit 2
else else
for flakes in $(find . -name flake.nix) for flakes in $(find . -name flake.nix)