From 411ebb0878a503ce0bf9f61cb3389bf011cce877 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 29 Nov 2019 21:18:21 +0000 Subject: [PATCH] pash: Fix inverted test --- pash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?