From 65b17aea0308039f2be86b85be135cdf5025adcd Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 19 May 2015 21:49:26 +0100 Subject: [PATCH] changed to -d --- functions/fn_check_logs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/fn_check_logs b/functions/fn_check_logs index b029e7592..5b7d33cf6 100644 --- a/functions/fn_check_logs +++ b/functions/fn_check_logs @@ -6,7 +6,7 @@ # Description: Checks that log files exist on server start # Create dir's for the script and console logs -if [ ! -f "${scriptlogdir}" ]; then +if [ ! -d "${scriptlogdir}" ]; then fn_printdots "Checking for log files" sleep 1 fn_printinfo "Checking for log files: Creating log files"