File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -52,16 +52,15 @@ impl IsoWriter {
52
52
. arg ( path. as_ref ( ) )
53
53
. arg ( self . tmpdir . as_ref ( ) )
54
54
. output ( )
55
- . with_context ( || {
56
- format ! (
57
- "failed to create ISO \" {}\" from dir \" {}\" " ,
58
- path. as_ref( ) . display( ) ,
59
- self . tmpdir. as_ref( ) . display( )
60
- )
61
- } ) ?;
55
+ . context ( "failed to execute mkisofs, check PATH" ) ?;
62
56
63
57
if !output. status . success ( ) {
64
- warn ! ( "command failed with status: {}" , output. status) ;
58
+ warn ! (
59
+ "failed to create ISO \" {}\" from dir \" {}\" with status {}" ,
60
+ path. as_ref( ) . display( ) ,
61
+ self . tmpdir. as_ref( ) . display( ) ,
62
+ output. status,
63
+ ) ;
65
64
warn ! ( "stderr: \" {}\" " , String :: from_utf8_lossy( & output. stderr) ) ;
66
65
return Err ( anyhow ! ( format!(
67
66
"Failed to make ISO {} from directory {}" ,
You can’t perform that action at this time.
0 commit comments