[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH] gfs2/mkfs/main.c: fix exit code



When Robert mentioned gfs2_grow/_shrink in one of his previous emails,
I decided to go digging a bit more and found a very trivial error.

Please apply or acknowledge and i will apply.

Thanks
Fabio

-- 
I'm going to make him an offer he can't refuse.
#! /bin/sh /usr/share/dpatch/dpatch-run
## 002_fix_gfs2_mkfs_exit.dpatch by  <fabbione gordian int fabbione net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad redhat-cluster-suite-2.20070430~/gfs2/mkfs/main.c redhat-cluster-suite-2.20070430/gfs2/mkfs/main.c
--- redhat-cluster-suite-2.20070430~/gfs2/mkfs/main.c	2006-07-11 00:51:10.000000000 +0200
+++ redhat-cluster-suite-2.20070430/gfs2/mkfs/main.c	2007-05-01 16:16:46.000000000 +0200
@@ -58,9 +58,10 @@
 		main_grow(argc, argv);
 	else if (!strcmp(whoami, "gfs2_shrink"))
 		main_shrink(argc, argv);
+#endif
 	else
 		die("I don't know who I am!\n");
-#endif
+
 	free(p);
 
 	return EXIT_SUCCESS;

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]