pash: Fix inverted test
This commit is contained in:
parent
5bc40a5eef
commit
411ebb0878
2
pash
2
pash
|
@ -28,7 +28,7 @@ pw_add() {
|
||||||
printf '\n'
|
printf '\n'
|
||||||
fi
|
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
|
# Mimic the use of an array for storing arguments by... using
|
||||||
# the function's argument list. This is very apt isn't it?
|
# the function's argument list. This is very apt isn't it?
|
||||||
|
|
Loading…
Reference in New Issue