pash: Fix inverted test

This commit is contained in:
Dylan Araps 2019-11-29 21:18:21 +00:00
parent 5bc40a5eef
commit 411ebb0878
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
pash
View File

@ -28,7 +28,7 @@ pw_add() {
printf '\n'
fi
[ -z "$pass" ] || die "Failed to generate a password."
[ "$pass" ] || die "Failed to generate a password."
# Mimic the use of an array for storing arguments by... using
# the function's argument list. This is very apt isn't it?