From c853b68229d8c8eaa6f4ae1828621fad533bb8e3 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Sat, 8 Sep 2012 00:30:59 +0200 Subject: s3:quota: don't add the string '"' into the argument list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is not used to quote or anything else. This is mainly causing work for the script writer who has to remove the quote stings again :-) Autobuild-User(master): Björn Jacke Autobuild-Date(master): Sat Sep 8 03:13:13 CEST 2012 on sn-devel-104 --- source3/lib/sysquotas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/sysquotas.c b/source3/lib/sysquotas.c index 76f66a779e..c531666292 100644 --- a/source3/lib/sysquotas.c +++ b/source3/lib/sysquotas.c @@ -208,7 +208,7 @@ static int command_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t return -1; } - if (asprintf(&syscmd, "%s \"%s\" %d %d", + if (asprintf(&syscmd, "%s %s %d %d", get_quota_command, path, qtype, _id) < 0) { return -1; } @@ -351,7 +351,7 @@ static int command_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t } if (asprintf(&syscmd, - "%s \"%s\" %d %d " + "%s %s %d %d " "%u %llu %llu " "%llu %llu %llu ", set_quota_command, path, qtype, _id, dp->qflags, -- cgit