From cd88fbdf91653067137b7441b48f9810a3b1596a Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Mon, 11 Jan 1999 03:49:18 +0000 Subject: [PATCH] Missed this file --- vfs/extfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vfs/extfs.c b/vfs/extfs.c index 48b0e9426..aa6cfa9e2 100644 --- a/vfs/extfs.c +++ b/vfs/extfs.c @@ -628,7 +628,7 @@ static void *extfs_open (vfs *me, char *file, int flags, int mode) free (q); free (mc_extfsdir); free (archive_name); - if (my_system (EXECUTE_AS_SHELL | EXECUTE_SETUID, shell, cmd) && !do_create){ + if (my_system (EXECUTE_AS_SHELL | EXECUTE_SETUID | EXECUTE_WAIT, shell, cmd) && !do_create){ free (entry->inode->local_filename); entry->inode->local_filename = NULL; free (cmd); @@ -690,7 +690,7 @@ static int extfs_close (void *data) file->entry->inode->local_filename, 0); free (archive_name); free (file_name); - if (my_system (EXECUTE_AS_SHELL | EXECUTE_SETUID, shell, cmd)) + if (my_system (EXECUTE_AS_SHELL | EXECUTE_SETUID | EXECUTE_WAIT, shell, cmd)) errno_code = EIO; free (cmd); free (mc_extfsdir);