Changeset View
Changeset View
Standalone View
Standalone View
stand/common/module.c
Show First 20 Lines • Show All 145 Lines • ▼ Show 20 Lines | default: | ||||
*/ | */ | ||||
if (dofile) { | if (dofile) { | ||||
if ((argc != 2) || (typestr == NULL) || (*typestr == 0)) { | if ((argc != 2) || (typestr == NULL) || (*typestr == 0)) { | ||||
command_errmsg = "invalid load type"; | command_errmsg = "invalid load type"; | ||||
return (CMD_CRIT); | return (CMD_CRIT); | ||||
} | } | ||||
#ifdef LOADER_VERIEXEC | #ifdef LOADER_VERIEXEC | ||||
if (strncmp(typestr, "pass_manifest", 13) == 0) { | |||||
return (pass_manifest(argv[1], prefix)); | |||||
} | |||||
if (strncmp(typestr, "manifest", 8) == 0) { | if (strncmp(typestr, "manifest", 8) == 0) { | ||||
return (load_manifest(argv[1], prefix, skip, NULL)); | return (load_manifest(argv[1], prefix, skip, NULL)); | ||||
} | } | ||||
#endif | #endif | ||||
fp = file_findfile(argv[1], typestr); | fp = file_findfile(argv[1], typestr); | ||||
if (fp) { | if (fp) { | ||||
snprintf(command_errbuf, sizeof(command_errbuf), | snprintf(command_errbuf, sizeof(command_errbuf), | ||||
▲ Show 20 Lines • Show All 958 Lines • Show Last 20 Lines |