Menu

#24 FIX: Quieten flexbackup

open
nobody
None
5
2008-01-09
2008-01-09
Keilaron
No

Anyone who uses flexbackup in a cron job surely gets the "syntax OK" message mailed to them each time the job runs, which is rather annoying when it runs properly.
The fix is simple: "Syntax OK" is not an error, it's a regular message, and therefore it belongs in STDOUT and not STDERR.
Thus, this modification:
Line 2418 goes from:
system("perl -c \"$configfile\"");
to:
system("perl -c \"$configfile\" 2>&1");

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.