ShellPkg/DynamicCommand: Fix bug that cannot start in boot
[mirror_edk2.git] / ShellPkg / DynamicCommand / TftpDynamicCommand / TftpDynamicCommand.c
index 928ef08..9e6489d 100644 (file)
@@ -39,6 +39,7 @@ TftpCommandHandler (
   )\r
 {\r
   gEfiShellParametersProtocol = ShellParameters;\r
+  gEfiShellProtocol           = Shell;\r
   return RunTftp (gImageHandle, SystemTable);\r
 }\r
 \r