From 14816962fa44883de6ebdd6dd4ae3ca6af604bbf Mon Sep 17 00:00:00 2001 From: Gonzalo Arreche Date: Fri, 5 Jun 2015 17:44:36 -0300 Subject: [PATCH] Report failures setting an exit status --- bin/dep | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/dep b/bin/dep index bd6c73a..f836baf 100755 --- a/bin/dep +++ b/bin/dep @@ -126,6 +126,10 @@ module Dep def run(cmd) puts " #{cmd}" `#{cmd}` + + if $?.exitstatus != 0 + exit($?.exitstatus) + end end end end