Commit b4de99e3 authored by Mac Newbold's avatar Mac Newbold

Fix a bug that was keeping the logs from getting moved away. (After you gzip...

Fix a bug that was keeping the logs from getting moved away. (After you gzip it, its name ends in .gz :) It has been broken for a very long time, but nobody reads root's mail (or cleans it out!), so we never noticed. (We should probably set up procmail for root's mail).
parent 0f117c42
......@@ -50,7 +50,7 @@ then
fi
done
gzip -9 $CURLOG && cp $CURLOG $DESTDIR && rm $CURLOG
gzip -9 $CURLOG && cp $CURLOG.gz $DESTDIR && rm $CURLOG.gz
if [ $? -ne 0 ]
then
echo "Error trying to zip and move log."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment