Skip to content

Commit

Permalink
Check processes using a given path only if the path exists.
Browse files Browse the repository at this point in the history
Signed-off-by: Giacomo Marciani <[email protected]>
  • Loading branch information
gmarciani committed May 6, 2024
1 parent 99e0d1b commit 8487fca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
timeout 10
live_stream true
command "fuser -mv #{file}"
only_if { File.file?(file) || File.directory?(file) }
end
end

0 comments on commit 8487fca

Please sign in to comment.