clean exit on window port init failure

This commit is contained in:
nhmall
2018-12-15 22:36:24 -05:00
parent 31c4eba835
commit 9de6c25e7e

View File

@@ -294,7 +294,8 @@ const char *s;
s, buf);
}
if (windowprocs.win_raw_print == def_raw_print)
if (windowprocs.win_raw_print == def_raw_print
|| WINDOWPORT("safe-startup"))
nh_terminate(EXIT_SUCCESS);
}