]> granicus.if.org Git - sysstat/commitdiff
Merge branch 'Sdrkun-master'
authorSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 1 May 2020 07:24:03 +0000 (09:24 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Fri, 1 May 2020 07:24:03 +0000 (09:24 +0200)
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
1  2 
sa1.in

diff --cc sa1.in
index e908ad330a4029657e2d6520808e011b3e77f1be,e9047d066738f1864ddab0420a5a24f793b8bc7d..b87d5775cd92723d90a0f15f2349fc08933de6c1
--- 1/sa1.in
--- 2/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