summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-04-28 01:45:56 -0400
committerMalf Furious <m@lfurio.us>2017-04-28 01:45:56 -0400
commit5de1fd7075686d8e8ba7861e789b343808383e20 (patch)
treebc78cd764aea6c4354730b5fd1af764fa5161217
parentd783362b4847d95d3bfe98f52c52fb1e440590e5 (diff)
downloadsystrunk-5de1fd7075686d8e8ba7861e789b343808383e20.tar.gz
systrunk-5de1fd7075686d8e8ba7861e789b343808383e20.zip
Fix exits in resolvers module
-rw-r--r--resolvers.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/resolvers.sh b/resolvers.sh
index 80781c3..dc0af37 100644
--- a/resolvers.sh
+++ b/resolvers.sh
@@ -34,12 +34,12 @@ function get_commit
else
echo "Error: $1 not a revision" >&2
- exit
+ exit 1
fi
# remote repository #
else
- exit
+ exit 1
fi
}
@@ -74,12 +74,12 @@ function get_symref
else
echo "Error: $1 not a revision" >&2
- exit
+ exit 1
fi
# remote repository #
else
- exit
+ exit 1
fi
}