From f2211f95800aef1823dccac6a9895c93d43d9e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 2 May 2018 16:10:23 +0200 Subject: [PATCH] Avoid to display a message when `cd -` --- jenkins_check_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins_check_update b/jenkins_check_update index 429765f..d43d7f4 100755 --- a/jenkins_check_update +++ b/jenkins_check_update @@ -36,6 +36,6 @@ else rm -f "${JENKINS_PLUGIN_UPDATE_LOG}" #printf '%b\n' "Nothing to do" fi -cd - || exit +cd - > /dev/null || exit exit 0