From: Sebastien GODARD Date: Fri, 1 May 2020 07:24:03 +0000 (+0200) Subject: Merge branch 'Sdrkun-master' X-Git-Tag: v12.3.3~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b091eabcd262facfce52a4c6d6559bc4787adbe;p=sysstat Merge branch 'Sdrkun-master' Signed-off-by: Sebastien GODARD --- 9b091eabcd262facfce52a4c6d6559bc4787adbe diff --cc sa1.in index e908ad3,e9047d0..b87d577 --- a/sa1.in +++ b/sa1.in @@@ -19,7 -19,8 +19,10 @@@ UMASK=002 umask ${UMASK} ++# If the user-supplied value for SA_DIR in sysconfig file is not a directory ++# then fall back on default directory. Create this default directory if it doesn't exist. [ -d ${SA_DIR} ] || SA_DIR=@SA_DIR@ + [ -d @SA_DIR@ ] || mkdir @SA_DIR@ if [ ${HISTORY} -gt 28 ] then