summaryrefslogtreecommitdiffstats
path: root/bin/dpmsmouse
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dpmsmouse')
-rwxr-xr-xbin/dpmsmouse4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/dpmsmouse b/bin/dpmsmouse
index a9ebf09..229b9e6 100755
--- a/bin/dpmsmouse
+++ b/bin/dpmsmouse
@@ -34,7 +34,7 @@ enable_devices()
dbg 'Enabling devices:'
for device in "${@}"; do
dbg ' %s' "${device}"
- xinput --enable "${device}"
+ xinput --enable "${device}" || :
done
}
@@ -45,7 +45,7 @@ disable_devices()
dbg 'Disabling devices:'
for device in "${@}"; do
dbg ' %s' "${device}"
- xinput --disable "${device}"
+ xinput --disable "${device}" || :
done
}