summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2014-04-25 15:41:42 +0200
committerBastien Nocera <hadess@hadess.net>2014-04-25 15:45:09 +0200
commit41f11e665d94384021f8162c84ae6f7cc82c4dde (patch)
treea245ff8a513389a40c794409514f81c8d4cd2024
parent643e493df651b6266b81cf5eeaa7be2b26583ba6 (diff)
downloadgnome-settings-daemon-41f11e665d94384021f8162c84ae6f7cc82c4dde.tar.gz
common: Fix documentation for hotplug script
The code at the bottom says we'll ignore further configuration if "1" is returned, but the top said if "0" is returned. Make both say "1".
-rw-r--r--plugins/common/input-device-example.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/common/input-device-example.sh b/plugins/common/input-device-example.sh
index 50aa949a..235cdc41 100644
--- a/plugins/common/input-device-example.sh
+++ b/plugins/common/input-device-example.sh
@@ -12,7 +12,7 @@
# device ID being the XInput device ID
# <device name> The name of the device
#
-# The script should return 0 if the device is to be
+# The script should return 1 if the device is to be
# ignored from future configuration.
#
# Set the script to be used with: