Merge pull request #14012 from sallyom/exitCodes

Change 'docker run' exit codes to distinguish docker/contained errors
This commit is contained in:
Sebastiaan van Stijn 2015-11-05 00:50:08 +01:00
commit 55c8a5b21b

View file

@ -1102,7 +1102,7 @@ func (fs *FlagSet) Parse(arguments []string) error {
case ContinueOnError: case ContinueOnError:
return err return err
case ExitOnError: case ExitOnError:
os.Exit(2) os.Exit(125)
case PanicOnError: case PanicOnError:
panic(err) panic(err)
} }