diff options
Diffstat (limited to 'share/shares.c')
-rw-r--r-- | share/shares.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/share/shares.c b/share/shares.c index b628321..e5b16d4 100644 --- a/share/shares.c +++ b/share/shares.c @@ -31,7 +31,6 @@ static time_t refresh_timestamp; #define KEY_ACL "usershare_acl" #define KEY_GUEST_OK "guest_ok" - /* Debugging flags */ static gboolean throw_error_on_refresh; static gboolean throw_error_on_add; @@ -219,7 +218,6 @@ net_usershare_run (int argc, char **argv, GKeyFile **ret_key_file, GError **erro return retval; } - /* Internals */ static void @@ -624,7 +622,7 @@ add_share (ShareInfo *info, GError **error) return FALSE; argv[0] = "add"; - argv[1] = "-l"; + argv[1] = "--long"; argv[2] = info->share_name; argv[3] = info->path; argv[4] = info->comment; @@ -757,7 +755,6 @@ modify_share (const char *old_path, ShareInfo *info, GError **error) return add_share (info, error); } - /* Public API */ GQuark |