From c33b0a6074d62ba028b5cd501e00394ad3acd9c5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 8 May 2000 18:24:26 +0000 Subject: Fix for VMS platforms from "John E. Malmberg" Jeremy. (This used to be commit eb281324fa409296bb3f29c9b7c59b2337fadc0d) --- source3/lib/smbrun.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/lib/smbrun.c') diff --git a/source3/lib/smbrun.c b/source3/lib/smbrun.c index 81dfc10dfb..89c924260f 100644 --- a/source3/lib/smbrun.c +++ b/source3/lib/smbrun.c @@ -92,6 +92,7 @@ int smbrun(char *cmd,char *outfile,BOOL shared) set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY, False); #ifndef HAVE_EXECL + { int ret; pstring syscmd; char *path = lp_smbrun(); @@ -113,6 +114,7 @@ int smbrun(char *cmd,char *outfile,BOOL shared) ret = system(syscmd); DEBUG(5,("gave %d\n",ret)); return(ret); + } #else /* in this newer method we will exec /bin/sh with the correct arguments, after first setting stdout to point at the file */ -- cgit