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:45 +0200
commit9cf3d7b9fa1a873b93c6966508b8eadd5e526b36 (patch)
treee02138d86eae4cc2fbfba34a6e2fede9b8a023b2
parent79efa3bab3967ddab4a045d01da15e043573ae0f (diff)
downloadgnome-settings-daemon-9cf3d7b9fa1a873b93c6966508b8eadd5e526b36.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: