Skip to content

Commit 784f6ca

Browse files
giordanostaticfloat
authored andcommitted
Print umount command to stdout/stderr when verbose is requested (#585)
1 parent 5d1c1b1 commit 784f6ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rootfs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function unmount(cs::CompilerShard, build_prefix::String; verbose::Bool = false,
276276
end
277277
try
278278
cmd = `$(sudo_cmd()) umount $(mpath)`
279-
run(cmd, (devnull, devnull, devnull))
279+
run(cmd, verbose ? (devnull, stdout, stderr) : (devnull, devnull, devnull))
280280

281281
# Remove mountpoint directory
282282
rm(mpath; force=true, recursive=false)

0 commit comments

Comments
 (0)