Skip to content

Commit

Permalink
Add missing quotes when showing a command that failed
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Mar 24, 2023
1 parent 6ef073f commit 232999b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/opamProcess.ml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ let make_info ?code ?signal

List.iter (fun (k,v) -> print k v) metadata;
print "path" cwd;
print "command" (String.concat " " (cmd :: args));
print "command" (String.concat " " (List.map Filename.quote (cmd :: args)));
print_opt "exit-code" (OpamStd.Option.map string_of_int code);
print_opt "signalled" (OpamStd.Option.map string_of_int signal);
print_opt "env-file" env_file;
Expand Down

0 comments on commit 232999b

Please sign in to comment.