From 44a7d5019cc65db835dafd7a77d5a73e89e9a345 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 3 Jan 2024 03:25:50 +0100 Subject: [PATCH] Fix extract goodie --- init.source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.source b/init.source index b2cd850..e25fefd 100644 --- a/init.source +++ b/init.source @@ -91,7 +91,7 @@ fi ## extract command, very useful if [ "${JSTMBASH_GOODIES_EXTRACT}" == "true" ]; then function extract(){ - if [ -n "${1}" ]; then + if [ -z "${1}" ]; then echo ":: Error: No file given." return 1 fi