1.1 --- a/fsaccess/op_script.c Mon Jan 15 23:44:56 2024 +0100
1.2 +++ b/fsaccess/op_script.c Wed Jan 17 00:52:03 2024 +0100
1.3 @@ -45,6 +45,7 @@
1.4 char buffer[BUFSIZE];
1.5 enum op_results op_result;
1.6 int num_args;
1.7 + int exitcode;
1.8 char *args[MAX_ARGS];
1.9 int i, use_stdin;
1.10
1.11 @@ -77,7 +78,7 @@
1.12
1.13 if (num_args >= 1)
1.14 {
1.15 - op_result = run_operation(args[0], num_args - 1, &args[1]);
1.16 + op_result = run_operation(args[0], num_args - 1, &args[1], &exitcode);
1.17
1.18 if (handle_op_result(args[0], op_result) && !use_stdin)
1.19 return 1;