summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/dfree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index c8c4437155..c523f2cab4 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -94,8 +94,6 @@ static SMB_BIG_UINT disk_free(char *path, BOOL small_query,
lines = file_lines_pload(syscmd, NULL, True);
if (lines) {
char *line = lines[0];
- if (strlen(line) > 0)
- line[strlen(line)-1] = '\0';
DEBUG (3, ("Read input from dfree, \"%s\"\n", line));