Ignore empty lines in kernel debugger

This commit is contained in:
Ali Mashtizadeh 2015-02-16 13:04:22 -08:00
parent 4e4490872e
commit e1959cf3f2

View File

@ -295,6 +295,10 @@ Debug_Prompt()
found = true;
}
}
if (strcmp(argv[0], "") == 0)
continue;
if (!found)
kprintf("Unknown command '%s'\n", argv[0]);
}