dosfstools/dosfstools-exit.patch
Štěpán Kasal 887aa47fa2 - fix the previous commit
- omit the most obsolete documents
- after writing the label, exit with exit code 0 (#468050)
2009-01-30 13:50:37 +00:00

17 lines
523 B
Diff

2009-01-30 Stepan Kasal <skasal@redhat.com>
* src/dosfslabel.c (main): After writing the label, exit code
should be 0.
diff -up dosfstools-3.0.1/src/dosfslabel.c.exit dosfstools-3.0.1/src/dosfslabel.c
--- dosfstools-3.0.1/src/dosfslabel.c.exit 2008-09-28 12:06:37.000000000 +0200
+++ dosfstools-3.0.1/src/dosfslabel.c 2009-01-30 14:28:47.000000000 +0100
@@ -122,5 +122,6 @@ int main(int argc, char *argv[])
}
write_label(&fs, label);
- return fs_close(rw) ? 1 : 0;
+ fs_close(rw);
+ return 0;
}