View | Details | Raw Unified | Return to bug 25014
Collapse All | Expand All

(-)./rotate.sh (-2 / +6 lines)
Lines 11-16 Link Here
11
  mv $file $file.$NOW
11
  mv $file $file.$NOW
12
  touch $file
12
  touch $file
13
  chown ncvs:ncvs $file
13
  chown ncvs:ncvs $file
14
  gzip $file.$NOW
14
  if [ -s $file.$NOW ]; then
15
  chown ncvs:ncvs $file.$NOW.gz
15
    gzip $file.$NOW
16
    chown ncvs:ncvs $file.$NOW.gz
17
  else
18
    rm $file.$NOW
19
  fi
16
done
20
done

Return to bug 25014