Merge pull request #14012 from sallyom/exitCodes
Change 'docker run' exit codes to distinguish docker/contained errors
This commit is contained in:
commit
55c8a5b21b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue