Skip to content

Commit d67608d

Browse files
committed
fix reworked if statement syntax
1 parent 811caf6 commit d67608d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/installes.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# 20241020 more bracketed paste mode disabling
6060
# 20241203 rework test logic at end of setup to improve messages and add crash.log detection and print log if detected
6161

62-
VERSION="20241203a"
62+
VERSION="20241203b"
6363

6464
SCRIPTNAME="installes"
6565

@@ -555,9 +555,9 @@ echo_log "ES installed and setup run. Please check for errors in $SPLUNK_HOME/va
555555
# INFO STAGE COMPLETE: "finalize"
556556
# 2020-06-08 20:12:46,423+0000 INFO pid=29627 tid=MainThread file=essinstaller2.py:wrapper:82 | STAGE COMPLETE: "finalize"
557557
# 2020-06-08 20:12:46,424+0000 INFO pid=29627 tid=MainThread file=essinstall.py:do_install:265 | Initialization complete, please restart Splunk
558-
if [ `tail -5 $SPLUNK_HOME/var/log/splunk/essinstaller2.log | grep -q " STAGE COMPLETE: \"finalize\""` ]; then
558+
if tail -5 "$SPLUNK_HOME/var/log/splunk/essinstaller2.log" | grep -q " STAGE COMPLETE: \"finalize\""; then
559559
echo_log "OK: STAGE complete finalize FOUND in $SPLUNK_HOME/var/log/splunk/essinstaller2.log. That is a good sign the install/upgrade went fine"
560-
echo_log "Finished"
560+
echo_log "ES Setup completed succesfully"
561561
echo_log "Please login to web interface and verify that no errors are present"
562562
echo_log "This script has just done the initial ES setup, please continue with the rest of the ES installation guide steps as needed"
563563
echo_log "in particular, don't forget to : install/upgrade TA (forSH/, configure indexes for ES in org_all_indexes or org_es_indexes via CM for the version of ES used, tune the SH with appropriate scheduling and tuning for ES, tune indexers , ...."

0 commit comments

Comments
 (0)