From cab2d4a316380e78a74832be5a071394769af4c2 Mon Sep 17 00:00:00 2001 From: WestleyR Date: Wed, 8 Sep 2021 14:09:52 -0700 Subject: [PATCH] Remove commented test code Seems to be extra test code from https://github.com/hpcng/warewulf/pull/112/commits/09a83ff90400dd5703da740b9072ecf9e792e070. --- internal/app/wwctl/container/exec/child/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/app/wwctl/container/exec/child/main.go b/internal/app/wwctl/container/exec/child/main.go index c6f52579..f7f61d07 100644 --- a/internal/app/wwctl/container/exec/child/main.go +++ b/internal/app/wwctl/container/exec/child/main.go @@ -61,8 +61,6 @@ func CobraRunE(cmd *cobra.Command, args []string) error { } } - //return errors.New("Test error") - err = syscall.Chroot(containerPath) if err != nil { return errors.Wrap(err, "failed to chroot")