Skip to content

Commit

Permalink
Update _nixkeyboard.py
Browse files Browse the repository at this point in the history
Error message should suggest usermod, not useradd
  • Loading branch information
Wooble authored and boppreh committed Apr 1, 2022
1 parent 9ddcf4d commit 2d58fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyboard/_nixkeyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def build_tables():
dump = check_output(['dumpkeys', '--keys-only'], universal_newlines=True)
except CalledProcessError as e:
if e.returncode == 1:
raise ValueError('Failed to run dumpkeys to get key names. Check if your user is part of the "tty" group, and if not, add it with "sudo useradd -a -G tty USER".')
raise ValueError('Failed to run dumpkeys to get key names. Check if your user is part of the "tty" group, and if not, add it with "sudo usermod -a -G tty USER".')
else:
raise

Expand Down

0 comments on commit 2d58fb0

Please sign in to comment.