git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
daemon: Allow -r option to run daemon standalone.
[libguestfs.git]
/
daemon
/
sync.c
diff --git
a/daemon/sync.c
b/daemon/sync.c
index
25c7de8
..
8f5a461
100644
(file)
--- a/
daemon/sync.c
+++ b/
daemon/sync.c
@@
-51,9
+51,10
@@
do_sync (void)
int
do_internal_autosync (void)
{
- int r;
+ int r
= 0
;
- r = do_umount_all ();
+ if (autosync_umount)
+ r = do_umount_all ();
sync_disks ();