git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Try harder to remove temporary directory along error paths (RHBZ#769680).
[libguestfs.git]
/
fuse
/
guestmount.c
diff --git
a/fuse/guestmount.c
b/fuse/guestmount.c
index
54ed947
..
7782be1
100644
(file)
--- a/
fuse/guestmount.c
+++ b/
fuse/guestmount.c
@@
-1227,5
+1227,5
@@
main (int argc, char *argv[])
guestfs_close (g);
free_dir_caches ();
- exit (r ==
-1 ? 1 : 0
);
+ exit (r ==
0 ? EXIT_SUCCESS : EXIT_FAILURE
);
}