1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

Fix for VMS platforms from "John E. Malmberg" <wb8tyw@qsl.net>

Jeremy.
(This used to be commit eb281324fa)
This commit is contained in:
Jeremy Allison 2000-05-08 18:24:26 +00:00
parent 1684d534c8
commit c33b0a6074

View File

@ -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 */