projects
/
qemu-gpiodev
/
libfuse.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc2d367
)
Don't hide output of /bin/mount
author
Miklos Szeredi
<mszeredi@suse.cz>
Thu, 19 May 2011 11:03:56 +0000
(13:03 +0200)
committer
Miklos Szeredi
<mszeredi@suse.cz>
Thu, 19 May 2011 11:03:56 +0000
(13:03 +0200)
lib/mount_util.c
patch
|
blob
|
history
diff --git
a/lib/mount_util.c
b/lib/mount_util.c
index aafddfbc18a3a077be29af31d405d84e59539ec5..3d2f4cd71ae8e8be4d85a0f8f2b0229bf642a8fc 100644
(file)
--- a/
lib/mount_util.c
+++ b/
lib/mount_util.c
@@
-95,16
+95,6
@@
static int add_mount(const char *progname, const char *fsname,
goto out_restore;
}
if (res == 0) {
- /*
- * Hide output, because old versions don't support
- * --no-canonicalize
- */
- int fd = open("/dev/null", O_WRONLY);
- if (fd >= 0) {
- dup2(fd, 1);
- dup2(fd, 2);
- }
-
sigprocmask(SIG_SETMASK, &oldmask, NULL);
setuid(geteuid());
execl("/bin/mount", "/bin/mount", "--no-canonicalize", "-i",