1
1
Fork 0
mirror of https://github.com/swaywm/sway synced 2024-04-25 10:45:11 +02:00
This commit is contained in:
rj1 2023-02-04 03:50:30 -06:00 committed by Simon Ser
parent 9498e4d261
commit d63497698b

View File

@ -60,7 +60,7 @@ static void pretty_print_cmd(json_object *r) {
if (!success_object(r)) {
json_object *error;
if (!json_object_object_get_ex(r, "error", &error)) {
printf("An unknkown error occurred");
printf("An unknown error occurred");
} else {
printf("Error: %s\n", json_object_get_string(error));
}