From 98ee790d334ce93747dbe39e7ff7a13278582b3c Mon Sep 17 00:00:00 2001 From: el-tocino Date: Wed, 2 Aug 2017 01:29:18 -0500 Subject: [PATCH] altered return codes for dupe/missing --- msm/msm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msm/msm b/msm/msm index 7c77b6e59e..6887bd0672 100755 --- a/msm/msm +++ b/msm/msm @@ -100,11 +100,11 @@ while [[ $# -gt 0 ]] ; do if [[ "${skill}" == *$'\n'* ]]; then echo -e "Your search has multiple choices\n\n$skill" | sed 's/.*://g' - return 3 + return 301 else if [[ -z "${git_line}" ]]; then echo "A ${iskill} skill was not found" - return 3 + return 302 fi repo_line=$(($git_line + 2)) repo=$(list | sed -n $repo_line'{p;q;}' | sed 's/[[:space:]]//g' | sed 's/url=//g')