Updating branch refs/heads/master
         to f3a454b7cb527b5bf5ea420fda08a57adb5d17f6 (commit)
       from bba365f57bbbf85f87e195d92a8c71e368353ef9 (commit)

commit f3a454b7cb527b5bf5ea420fda08a57adb5d17f6
Author: Michał Górny <mgo...@gentoo.org>
Date:   Wed Nov 3 18:54:09 2010 +0100

    Fix incorrect (negative) exit values.

 scripts/xfmountdev4 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/xfmountdev4 b/scripts/xfmountdev4
index 937db34..a904bc2 100644
--- a/scripts/xfmountdev4
+++ b/scripts/xfmountdev4
@@ -43,7 +43,7 @@ fi
 
 if [ "x$1" = "x" ]; then
     echo $0: You must provide a mount point
-    exit -1
+    exit 1
 else
        if [ -d "$1" ]; then
                MOUNTPNT="$1"
@@ -62,7 +62,7 @@ else
                 exit 0
         else
                echo $0: The mount point $1 does not exist
-               exit -2
+               exit 2
         fi
 fi        
 exit 0
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to