diff --git a/sysinit/sysinit.go b/sysinit/sysinit.go index f906b7d2dd..ce46e06f14 100644 --- a/sysinit/sysinit.go +++ b/sysinit/sysinit.go @@ -209,7 +209,7 @@ func executeProgram(args *DockerInitArgs) error { } if err := syscall.Exec(path, args.args, os.Environ()); err != nil { - panic(err) + return fmt.Errorf("dockerinit unable to execute %s - %s", path, err) } // Will never reach here