Fixing unreachable exit code
Merge pull request #1910 from pborreli/patch-1

Fixing unreachable exit code