ShellPkg/DynamicCommand: Fix bug that cannot start in boot
[mirror_edk2.git] / ShellPkg / DynamicCommand / DpDynamicCommand / DpDynamicCommand.c
index 6f3997f..b10c59f 100644 (file)
@@ -38,6 +38,7 @@ DpCommandHandler (
   )\r
 {\r
   gEfiShellParametersProtocol = ShellParameters;\r
+  gEfiShellProtocol           = Shell;\r
   return RunDp (gImageHandle, SystemTable);\r
 }\r
 \r