summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-11-29 11:31:10 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-11-29 12:11:46 +1000
commitac1d5082fe87c52420720ca46b7862a214c61618 (patch)
tree4a22b66d435c0ccf1265ed132200bef36f541c89 /tools
parent1b54b726f07faec48be86b6308a40b658d423147 (diff)
tools: clarify PermissionError in measure-trackpoint-range
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/libinput-measure-trackpoint-range2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libinput-measure-trackpoint-range b/tools/libinput-measure-trackpoint-range
index 512978c0..40403616 100755
--- a/tools/libinput-measure-trackpoint-range
+++ b/tools/libinput-measure-trackpoint-range
@@ -189,7 +189,7 @@ def main(args):
except KeyboardInterrupt:
device.print_summary()
except (PermissionError, OSError):
- print("Error: failed to open device")
+ print("Error: failed to open device. Are you running as root?")
except InvalidDeviceError as e:
print("Error: {}".format(e))