diff options
Diffstat (limited to 'src/skhd.c')
-rw-r--r-- | src/skhd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -459,7 +459,7 @@ static GLOBAL_CONNECTION_CALLBACK(connection_handler) int main(int argc, char **argv) { if (getuid() == 0 || geteuid() == 0) { - error("skhd: running as root is not allowed! abort..\n"); + require("skhd: running as root is not allowed! abort..\n"); } if (parse_arguments(argc, argv)) { @@ -475,7 +475,7 @@ int main(int argc, char **argv) } if (!check_privileges()) { - error("skhd: must be run with accessibility access! abort..\n"); + require("skhd: must be run with accessibility access! abort..\n"); } if (!initialize_keycode_map()) { |