summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-09-08 00:30:59 +0200
committerBjoern Jacke <bj@sernet.de>2012-09-08 03:13:13 +0200
commitc853b68229d8c8eaa6f4ae1828621fad533bb8e3 (patch)
tree4cd0270d1f01797160eb17af78bdf9488507479a /source3
parent869b67764d06995e232a97118737be6779ad4929 (diff)
downloadsamba-c853b68229d8c8eaa6f4ae1828621fad533bb8e3.tar.gz
samba-c853b68229d8c8eaa6f4ae1828621fad533bb8e3.tar.bz2
samba-c853b68229d8c8eaa6f4ae1828621fad533bb8e3.zip
s3:quota: don't add the string '"' into the argument list
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 <bj@sernet.de> Autobuild-Date(master): Sat Sep 8 03:13:13 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/sysquotas.c4
1 files changed, 2 insertions, 2 deletions
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,