diff options
author | Andreas Dilger <adilger@clusterfs.com> | 2001-12-25 23:10:40 -0700 |
---|---|---|
committer | Andreas Dilger <adilger@clusterfs.com> | 2001-12-25 23:10:40 -0700 |
commit | c007bc06d97d4b433e4d645edae994a5ae75fa01 (patch) | |
tree | 80d631b5ee2f0da27af71310280dc4e9e70eaef4 /misc/tune2fs.c | |
parent | 682720a41b70cbe5291b524184983712124035b2 (diff) | |
download | e2fsprogs-c007bc06d97d4b433e4d645edae994a5ae75fa01.tar.gz |
Return a non-zero exit code on error.
Diffstat (limited to 'misc/tune2fs.c')
-rw-r--r-- | misc/tune2fs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/tune2fs.c b/misc/tune2fs.c index a25d8bf1..8c27a70c 100644 --- a/misc/tune2fs.c +++ b/misc/tune2fs.c @@ -813,6 +813,5 @@ int main (int argc, char ** argv) if (l_flag) list_super (sb); - ext2fs_close (fs); - exit (0); + return (ext2fs_close (fs) ? 1 : 0); } |