refactor: simplify "return 1 on error" code
refactor: simplify "return 1 on error" code

errordeveloper/weave,rade/weave,n054/weave,errordeveloper/weave,kidaa/weave,squaremo/weave,ycaihua/weave,bboreham/weave,paladin74/weave,philipz/weave,n054/weave,bboreham/weave,inercia/weave,awanke/weave,weaveworks/weave,ycaihua/weave,n054/weave,tomwilkie/weave,achanda/weave,awanke/weave,rade/weave,dpw/weave,dpw/weave,philipz/weave,beni55/weave,narry/weave,squaremo/weave,inercia/weave,ycaihua/weave,errordeveloper/weave,paulbellamy/weave,n054/weave,weaveworks/weave,aaam/weave,OnePaaS/weave,bboreham/weave,OnePaaS/weave,2opremio/weave,paulbellamy/weave,aaam/weave,tomwilkie/weave,narry/weave,kidaa/weave,bboreham/weave,squaremo/weave,philipz/weave,awh/weave,tomwilkie/weave,paulbellamy/weave,inercia/weave,beni55/weave,paladin74/weave,achanda/weave,dpw/weave,narry/weave,awanke/weave,inercia/weave,squaremo/weave,ycaihua/weave,OnePaaS/weave,OnePaaS/weave,achanda/weave,BWITS/weave,cgvarela/weave,cgvarela/weave,paulbellamy/weave,errordeveloper/weave,awh/weave,cgvarela/weave,tomwilkie/weave,2opremio/weave,inercia/weave,achanda/weave,BWITS/weave,BWITS/weave,narry/weave,squaremo/weave,aaam/weave,paladin74/weave,weaveworks/weave,kidaa/weave,2opremio/weave,bboreham/weave,paladin74/weave,2opremio/weave,BWITS/weave,2opremio/weave,achanda/weave,awh/weave,cgvarela/weave,ycaihua/weave,kidaa/weave,dpw/weave,awanke/weave,cgvarela/weave,aaam/weave,tomwilkie/weave,philipz/weave,beni55/weave,beni55/weave,awh/weave,OnePaaS/weave,philipz/weave,errordeveloper/weave,aaam/weave,n054/weave,awh/weave,weaveworks/weave,kidaa/weave,awanke/weave,beni55/weave,dpw/weave,paladin74/weave,rade/weave,rade/weave,narry/weave,BWITS/weave,rade/weave