Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Nov 8, 2018
1 parent 4b56150 commit f17b269
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/installation/clients/pre_umount_finish.rb
Expand Up @@ -36,7 +36,6 @@ def write
# some processes might be still running...
cmd_run = WFM.Execute(path(".local.bash_output"),
"fuser -v '#{String.Quote(Installation.destdir)}' 2>&1")
cmd_run = "fuser -v '#{String.Quote(Installation.destdir)}' 2>&1"

log.info("These processes are still running at " \
"#{Installation.destdir} -> #{cmd_run}")
Expand Down Expand Up @@ -79,7 +78,7 @@ def local_command(command)
log.info "Command #{command} returned: #{ret}"
return true if ret["exit"] == 0
err = ret["stderr"]
log.error "Error: #{ret}" unless ret.empty?
log.error "Error: #{err}" unless err.empty?
false
end

Expand Down

0 comments on commit f17b269

Please sign in to comment.