[Xfce-bugs] [Bug 6741] New: xfmountdev4 passes incorrect values to exit(1p)
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Sat Oct 23 23:50:42 CEST 2010
http://bugzilla.xfce.org/show_bug.cgi?id=6741
Summary: xfmountdev4 passes incorrect values to exit(1p)
Classification: Xfce
Product: Xfce-utils
Version: 4.7.0
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: Medium
Component: General
AssignedTo: xfce-bugs at xfce.org
ReportedBy: mgorny at gentoo.org
Created attachment 3153
--> http://bugzilla.xfce.org/attachment.cgi?id=3153
The mentioned patch
Right now, the xfmountdev4 script passed negative integers to 'exit' command.
Results of these are undefined per POSIX, and dash shell complains about them:
exit: 67: Illegal number: -1
I suggest replacing these with positive exit codes. I'm attaching a patch doing
so.
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Xfce-bugs
mailing list