aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJanos Gyerik <janos@kronos>2016-11-17 23:43:49 +0100
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>2016-11-23 14:17:33 +0100
commit38b4f6911ed8fcf4186e0bf08c6f225163e50d20 (patch)
treee84030d594326c37c36b7760979b77e31a621ca5 /scripts
parenta884c4e4b250597d9cdd47ddca22d053839db32f (diff)
downloadsonarqube-38b4f6911ed8fcf4186e0bf08c6f225163e50d20.tar.gz
sonarqube-38b4f6911ed8fcf4186e0bf08c6f225163e50d20.zip
[script] Simplify condition
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/start.sh b/scripts/start.sh
index 0395b15b998..fe03e3768e8 100755
--- a/scripts/start.sh
+++ b/scripts/start.sh
@@ -49,7 +49,7 @@ SQ_EXEC=$SQ_HOME/bin/$OS/sonar.sh
# invoke patches if at least one was specified
# each patch is passed the path to the SQ instance home directory as first and only argument
-if [ "$PATCHES" != "" ]; then
+if [ "$PATCHES" ]; then
call_patches "$PATCHES" "$SQ_HOME"
fi