! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfmountdev4 passes incorrect values to exit(1p)
Status:
RESOLVED: FIXED
Product:
Xfce-utils
Component:
General

Comments

Description Michał Górny 2010-10-23 23:50:41 CEST
Created attachment 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.
Comment 1 Nick Schermer editbugs 2010-11-03 18:54:58 CET
Fixed in f3a454b.

Bug #6741

Reported by:
Michał Górny
Reported on: 2010-10-23
Last modified on: 2010-11-03

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

The mentioned patch (840 bytes, patch)
2010-10-23 23:50 CEST , Michał Górny
no flags

Additional information