From 60db76fd8cad19fae6cfcf2fbf3b30fa2c4c707f Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Tue, 10 Oct 2017 17:54:23 +0800 Subject: Fix jenkins-jnlp-connect.sh for missing a quotation mark Change-Id: Iba2a7b5de9cb56c2cc6579fb9ff37b3242a0283f Signed-off-by: Alex Yang --- utils/jenkins-jnlp-connect.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/jenkins-jnlp-connect.sh b/utils/jenkins-jnlp-connect.sh index 13cb025d6..cd81f29d3 100755 --- a/utils/jenkins-jnlp-connect.sh +++ b/utils/jenkins-jnlp-connect.sh @@ -52,7 +52,7 @@ main () { fi if [[ $(whoami) != "root" ]]; then - if sudo -l | grep "requiretty | grep -v "\!requiretty"; then + if sudo -l | grep "requiretty" | grep -v "\!requiretty"; then echo "please comment out Defaults requiretty from /etc/sudoers" exit 1 fi -- cgit 1.2.3-korg