mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-15 15:57:13 +00:00
Print a better message than "File not found" when the correct display program cannot be determined.
modified: src/ldeboot.c
This commit is contained in:
parent
06872ed2b1
commit
a4fdd8b27d
@ -221,6 +221,11 @@ int main(int argc, char *argv[])
|
||||
|
||||
/* start ldemono or ldecolor */
|
||||
|
||||
if (filetorun[0] == '\0') {
|
||||
fprintf(stderr, "Unable to determine what display program to run.\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
argv[0] = filetorun; /* or whatever... */
|
||||
|
||||
/* then execve the LDE executable */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user