diff options
Diffstat (limited to 'daemon/admin.mount.in')
-rw-r--r-- | daemon/admin.mount.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/admin.mount.in b/daemon/admin.mount.in index 0996a9e5..cbdb164e 100644 --- a/daemon/admin.mount.in +++ b/daemon/admin.mount.in @@ -1,4 +1,5 @@ [Mount] Type=admin -Exec=/bin/sh -c 'pkexec @libexecdir@/gvfsd-admin --address "$@" $DBUS_SESSION_BUS_ADDRESS' +# Add a dummy argument after pkexec, or '/bin/sh -c' will eat the first argument in '$@' +Exec=/bin/sh -c 'pkexec @libexecdir@/gvfsd-admin "$@" --address $DBUS_SESSION_BUS_ADDRESS' gvfsd-admin AutoMount=true |