git://git.onelab.eu
/
vsys-scripts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[vsys-scripts.git]
/
fd_fusemount.c
diff --git
a/fd_fusemount.c
b/fd_fusemount.c
index
daae97a
..
5c43cf4
100644
(file)
--- a/
fd_fusemount.c
+++ b/
fd_fusemount.c
@@
-111,5
+111,10
@@
int main(int argc, char *argv[]) {
if (!mount(source, slice_target, filesystemtype, mountflags, data)) {
send_fd(control_channel_fd, magic_fd);
}
if (!mount(source, slice_target, filesystemtype, mountflags, data)) {
send_fd(control_channel_fd, magic_fd);
}
+ else {
+ printf ("Error executing mount\n");
+ exit(1);
+ }
+ return 0;
}
}