[Ocfs2-tools-commits] zab commits r375 - trunk/fsck.ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Tue Nov 9 13:29:02 CST 2004


Author: zab
Date: 2004-11-09 13:29:00 -0600 (Tue, 09 Nov 2004)
New Revision: 375

Modified:
   trunk/fsck.ocfs2/problem.c
Log:
o exit with FSCK_CANCELED when appropriate


Modified: trunk/fsck.ocfs2/problem.c
===================================================================
--- trunk/fsck.ocfs2/problem.c	2004-11-09 02:37:31 UTC (rev 374)
+++ trunk/fsck.ocfs2/problem.c	2004-11-09 19:29:00 UTC (rev 375)
@@ -211,12 +211,12 @@
 
 		if (c == 3) {
 			printf("ctl-c pressed, aborting.\n");
-			exit(FSCK_ERROR);
+			exit(FSCK_ERROR|FSCK_CANCELED);
 		}
 
 		if (c == 27) {
 			printf("ESC pressed, aborting.\n");
-			exit(FSCK_ERROR);
+			exit(FSCK_ERROR|FSCK_CANCELED);
 		}
 
 		c = tolower(c);



More information about the Ocfs2-tools-commits mailing list