Change the return code for 'diff' if a sync is required

This commit is contained in:
Andrea Mazzoleni 2015-04-28 19:15:16 +02:00
parent 9b4f41d7ff
commit 5c5e80a239
10 changed files with 38 additions and 22 deletions

View file

@ -22,10 +22,11 @@
#include "support.h"
/**
* Standard exit codes.
* Exit codes.
*/
int exit_success = 0;
int exit_failure = 1;
int exit_sync_needed = 2;
int open_noatime(const char* file, int flags)
{