diff --git a/pash b/pash index 722522e..1806f5d 100755 --- a/pash +++ b/pash @@ -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?