]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
e2image: remove useless exit call
authorTomas Racek <tracek@redhat.com>
Mon, 22 Apr 2013 03:21:32 +0000 (23:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Apr 2013 03:21:32 +0000 (23:21 -0400)
Exit is called right after the install_image anyway so this one can
be removed.

Signed-off-by: Tomas Racek <tracek@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/e2image.c

index b1badda05dc0eeba61f9b5dbc35c000d1f5e6138..6988c4d26e4d55e6dbd6f167d44f607b2c83a69d 100644 (file)
@@ -1230,7 +1230,6 @@ static void install_image(char *device, char *image_fn, int type)
        }
 
        ext2fs_close (fs);
-       exit (0);
 }
 
 static struct ext2_qcow2_hdr *check_qcow2_image(int *fd, char *name)