Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
eject
eject-2.1.0-umount.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eject-2.1.0-umount.diff of Package eject
--- eject.c +++ eject.c @@ -1109,16 +1109,6 @@ exit(0); } - /* handle -T option */ - if (T_option) { - if (v_option) - printf(_("%s: toggling tray\n"), programName); - fd = OpenDevice(deviceName); - ToggleTray(fd); - HandleXOption(deviceName); - exit(0); - } - /* handle -x option only */ if (!c_option) HandleXOption(deviceName); @@ -1135,6 +1125,16 @@ if ((m_option != 1) && (pattern != 0)) UnmountDevices(pattern); + /* handle -T option */ + if (T_option) { + if (v_option) + printf(_("%s: toggling tray\n"), programName); + fd = OpenDevice(deviceName); + ToggleTray(fd); + HandleXOption(deviceName); + exit(0); + } + /* handle -c option */ if (c_option) { if (v_option)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor