From: Sdrkun Date: Tue, 28 Apr 2020 14:31:54 +0000 (-0400) Subject: sa1: fix sar error when the directory var/log/sa was removed. X-Git-Tag: v12.3.3~4^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06e226703bee77e507f9f480807e230f677f0cb9;p=sysstat sa1: fix sar error when the directory var/log/sa was removed. Signed-off-by: Sdrkun --- diff --git a/sa1.in b/sa1.in index e908ad3..e9047d0 100644 --- a/sa1.in +++ b/sa1.in @@ -20,6 +20,7 @@ UMASK=0022 umask ${UMASK} [ -d ${SA_DIR} ] || SA_DIR=@SA_DIR@ +[ -d @SA_DIR@ ] || mkdir @SA_DIR@ if [ ${HISTORY} -gt 28 ] then