summaryrefslogtreecommitdiff
path: root/source3/smbd/dfree.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-16 20:55:37 +0000
committerJeremy Allison <jra@samba.org>2000-03-16 20:55:37 +0000
commite601c0259e9e6a48e04ce3e0ff793cb564a89716 (patch)
tree43bd810549c4ecaff98bb9853750de16af73d554 /source3/smbd/dfree.c
parenta36d737c88b002787014b04788460ca65b4dcbe5 (diff)
downloadsamba-e601c0259e9e6a48e04ce3e0ff793cb564a89716.tar.gz
samba-e601c0259e9e6a48e04ce3e0ff793cb564a89716.tar.bz2
samba-e601c0259e9e6a48e04ce3e0ff793cb564a89716.zip
Fixes to add "paranoid" option to popen. Checks some basic things.
Jeremy (This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
Diffstat (limited to 'source3/smbd/dfree.c')
-rw-r--r--source3/smbd/dfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index 7866d60277..0a892bad05 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -217,7 +217,7 @@ static SMB_BIG_UINT disk_free(char *path, BOOL small_query,
slprintf (line, sizeof(pstring) - 1, "%s %s", dfree_command, path);
DEBUG (3, ("disk_free: Running command %s\n", line));
- pp = sys_popen(line, "r");
+ pp = sys_popen(line, "r", False);
if (pp) {
fgets(line, sizeof(pstring), pp);
line[sizeof(pstring)-1] = '\0';