mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 02:10:40 +01:00
tools: clarify PermissionError in measure-trackpoint-range
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit ac1d5082fe)
This commit is contained in:
parent
c863ab5c8e
commit
5cf08e8105
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue