summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2017-08-28 23:21:03 -0400
committerMalf Furious <m@lfurio.us>2017-08-28 23:21:03 -0400
commit50fba4a5d2d664d377e21633a36a84794cd3d0b5 (patch)
tree1ad26583f1582730343f623357e0697acbf769c0
parentbb0fa66ad17a0e1268ce4fd66506821c64173d67 (diff)
downloadsystrunk-50fba4a5d2d664d377e21633a36a84794cd3d0b5.tar.gz
systrunk-50fba4a5d2d664d377e21633a36a84794cd3d0b5.zip
Fix bug in ref resolver
Pipe err message to stderr since stdout is captured from this function by the caller.
-rw-r--r--repo-access.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo-access.sh b/repo-access.sh
index ad0686b..6e5b481 100644
--- a/repo-access.sh
+++ b/repo-access.sh
@@ -36,7 +36,7 @@ function systr_repo_resolve_reference
elif [ -f "revs/$symref/.commit.systr" ]; then
echo "$symref"
else
- echo "$symref not a revision"
+ echo "$symref not a revision" >&2
exit 1
fi
)