From c01fcd50ec782fd45f71f0976947f3e97c774e92 Mon Sep 17 00:00:00 2001 From: KallistiMan Date: Sat, 9 Jul 2016 18:59:24 +0200 Subject: [PATCH] Respect -w when using -a $WORKING_DIR should always be correct so always passing it along should be the most efficient way to make sure the original -w is respected, right? -a is still not passing along -f but I'm not sure that is the best thing to do, but I'll make another fork for that. --- getssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getssl b/getssl index 0e2df46..cab6413 100755 --- a/getssl +++ b/getssl @@ -717,7 +717,7 @@ if [ ${_CHECK_ALL} -eq 1 ]; then for dir in ${DOMAIN_STORAGE}/*; do if [ -d "$dir" ]; then debug "Checking $dir" - cmd="$0" + cmd="$0 -w $WORKING_DIR" if [ ${_USE_DEBUG} -eq 1 ]; then cmd="$cmd -d" fi