This commit is contained in:
Carter Dodd
2022-06-04 11:42:16 -05:00
parent fc8d3863d8
commit f14f339576
4 changed files with 7 additions and 9 deletions

View File

@@ -658,11 +658,11 @@ func BuildFsImage(
/*******************************************************************************
Runs wwctl command
*/
func RunWWCTL(args ...string) (out string, err error) {
func RunWWCTL(args ...string) (out []byte, err error) {
proc := exec.Command("wwctl", args...)
out, err := proc.CombinedOutput()
out, err = proc.CombinedOutput()
return out, err
}