version 1.37, 2001/06/23 15:12:20 |
version 1.38, 2001/07/09 07:04:53 |
|
|
/* XXX: child has pipe fds to ssh subproc open - issue? */ |
/* XXX: child has pipe fds to ssh subproc open - issue? */ |
if (args) { |
if (args) { |
debug3("Executing %s -c \"%s\"", shell, args); |
debug3("Executing %s -c \"%s\"", shell, args); |
execl(shell, shell, "-c", args, NULL); |
execl(shell, shell, "-c", args, (char *)NULL); |
} else { |
} else { |
debug3("Executing %s", shell); |
debug3("Executing %s", shell); |
execl(shell, shell, NULL); |
execl(shell, shell, (char *)NULL); |
} |
} |
fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell, |
fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell, |
strerror(errno)); |
strerror(errno)); |