Skip to content

Commit

Permalink
Use the correct path for /usr/bin/eject (bsc#1127138)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed Feb 27, 2019
1 parent 169055c commit cb259b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/checkmedia/ui.rb
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ def MainDialog
selecteddrive = Convert.to_string(
UI.QueryWidget(Id(:cddevices), :Value)
)
command = "/bin/eject #{selecteddrive.shellescape}"
command = "/usr/bin/eject #{selecteddrive.shellescape}"

Builtins.y2milestone("Executing '%1'", command)

Expand Down

0 comments on commit cb259b9

Please sign in to comment.