use exit code
Merge pull request #19 from Simn/master

use exit code