[gnome-settings-daemon] common: Use exit instead of return
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] common: Use exit instead of return
- Date: Thu, 1 Mar 2012 15:24:12 +0000 (UTC)
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]