[gnome-settings-daemon] common: Use exit instead of return



commit a89cf39db4a1c67d920efd9d1dbf0213451353b7
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 1 15:20:40 2012 +0000

    common: Use exit instead of return
    
    In example script.

 plugins/common/input-device-example.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/common/input-device-example.sh b/plugins/common/input-device-example.sh
index b7c9168..666c9ab 100644
--- a/plugins/common/input-device-example.sh
+++ b/plugins/common/input-device-example.sh
@@ -63,4 +63,4 @@ case $type in
 esac
 
 # All further processing will be disabled if $retval == 0
-return $retval
+exit $retval



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]