summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2017-10-11 16:56:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-10-11 16:56:26 +0000
commitdc304463a3b26edb4abf24cb7292750400c42466 (patch)
tree112fb6821930f45093a18c62b6f039822b0cb5b1
parent1528f888edba45aaa9919e8c0a5af77a1801380f (diff)
parent60db76fd8cad19fae6cfcf2fbf3b30fa2c4c707f (diff)
Merge "Fix jenkins-jnlp-connect.sh for missing a quotation mark"
-rwxr-xr-xutils/jenkins-jnlp-connect.sh2
1 files changed, 1 insertions, 1 deletions
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