From ac1d5082fe87c52420720ca46b7862a214c61618 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 29 Nov 2017 11:31:10 +1000 Subject: tools: clarify PermissionError in measure-trackpoint-range Signed-off-by: Peter Hutterer --- tools/libinput-measure-trackpoint-range | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3