- /* If that returned, we were unable to exec the subprocess. */
- print_path_error (hack->command);
+
+ /* If that returned, we were unable to exec the subprocess.
+ Print an error message, if desired.
+ */
+ if (! p->ignore_uninstalled_p)
+ print_path_error (hack->command);
+