From b0b857d6ca842fb516b3330a11e0d6d78f35aded Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 Feb 2010 17:09:35 +1100 Subject: s4-dns: use a loadparm list for samba_runcmd() commands This allows commands with multiple arguments and quoting to be used, while still avoiding running a shell (and this having shell expansion problems) --- lib/util/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util/util.h') diff --git a/lib/util/util.h b/lib/util/util.h index 01831fc826..e1608a8ac4 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -890,7 +890,7 @@ struct composite_context *samba_runcmd(struct tevent_context *ev, struct timeval timeout, int stdout_log_level, int stderr_log_level, - const char *arg0, ...); + const char **argv0, ...); #endif /* _SAMBA_UTIL_H_ */ -- cgit