gfs2/mkfs/main.c: fix exit code
PATCH 1/1 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
Signature · 5 lines
I'm going to make him an offer he can't refuse. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 002_fix_gfs2_mkfs_exit.dpatch URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20070501/2a511f77/attachment.ksh>
Quoted 24 lines · Fabio Massimo Di Nitto
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------------------------------------------------------------------------
#!
/bin/sh/usr/share/dpatch/dpatch-run
## 002_fix_gfs2_mkfs_exit.dpatch by <[email protected]> ##
## All lines beginning with `## DP:' are a description of the patch. ## DP: No description.@DPATCH@
diff -urNadredhat-cluster-suite-2.20070430~/gfs2/mkfs/main.credhat-cluster-suite-2.20070430/gfs2/mkfs/main.cgfs2/mkfs/main.c +0
-0@@ -58,9 +58,10 @@main_grow (argc, argv);
gfs2/mkfs/main.c line 67
Quoted 10 lines
gfs2/mkfs/main.c +2
-1else 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 ;
ACK
Bob Peterson
Red Hat Cluster Suite