diff options
-rw-r--r-- | EmulatorPkg/Unix/Host/Host.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/EmulatorPkg/Unix/Host/Host.c b/EmulatorPkg/Unix/Host/Host.c index 8e1272d4e3..7eecbceaad 100644 --- a/EmulatorPkg/Unix/Host/Host.c +++ b/EmulatorPkg/Unix/Host/Host.c @@ -287,6 +287,12 @@ main ( printf ("\n"); } + + if (SecFile == NULL) { + printf ("ERROR : SEC not found!\n"); + exit (1); + } + // // Calculate memory regions and store the information in the gSystemMemory // global for later use. The autosizing code will use this data to |