- printf("The program '%s' is not installed. Install it by executing:\n apt install %s\n", binary_name, current_package);
- return 127;
+ if (best_distance == 0) {
+ fprintf(stderr, "or\n");
+ } else {
+ fprintf(stderr, "The program '%s' is not installed. Install it by executing:\n", binary_name);
+ }
+ fprintf(stderr, " pkg install %s\n", current_package);
+ best_distance = 0;