diff options
author | Daniel Schwarz <daniel.schwarz@sonarsource.com> | 2017-02-01 15:45:56 +0100 |
---|---|---|
committer | Daniel Schwarz <bartfastiel@users.noreply.github.com> | 2017-02-01 15:51:52 +0100 |
commit | 53f5702cd068b1245b02002b04685c41752451ca (patch) | |
tree | a8dfdce6d685a6bbd00c96c73a3fb71a30bd22ad /stop.sh | |
parent | f294cc4de25fd978a8d532283078852a7fb2830e (diff) | |
download | sonarqube-53f5702cd068b1245b02002b04685c41752451ca.tar.gz sonarqube-53f5702cd068b1245b02002b04685c41752451ca.zip |
avoid command line message if trying to stop without having unzipped
Diffstat (limited to 'stop.sh')
-rwxr-xr-x | stop.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -8,4 +8,7 @@ else OS='linux-x86-64' fi -sh sonar-application/target/sonarqube-*/bin/$OS/sonar.sh stop +SONAR_SH=sonar-application/target/sonarqube-*/bin/$OS/sonar.sh +if [ -f $SONAR_SH ]; then + sh $SONAR_SH stop +fi |