Skip to content

Commit

Permalink
debugfs: when executing a single request, exit with the exit status o…
Browse files Browse the repository at this point in the history
…f the request
  • Loading branch information
Sándor Oroszi committed Feb 13, 2024
1 parent a2c4174 commit bcee836
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debugfs/debugfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2665,6 +2665,8 @@ int main(int argc, char **argv)
if (retval) {
ss_perror(ss_sci_idx, retval, request);
exit_status++;
} else {
exit_status = ss_get_exit_status(ss_sci_idx);
}
} else if (cmd_file) {
exit_status = source_file(cmd_file, ss_sci_idx);
Expand Down

0 comments on commit bcee836

Please sign in to comment.