Moved system dependencies to system.c

This commit is contained in:
Sergey Poznyakoff
2003-10-04 18:18:02 +00:00
parent c1b9212b16
commit a0d91086c4

View File

@@ -482,10 +482,7 @@ rmt_open__ (const char *path, int open_mode, int bias, const char *remote_shell)
close (from_remote[remote_pipe_number][PREAD]);
close (from_remote[remote_pipe_number][PWRITE]);
#if !MSDOS
setuid (getuid ());
setgid (getgid ());
#endif
sys_reset_uid_gid ();
if (remote_user)
execl (remote_shell, remote_shell_basename, remote_host,