Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install/cleanup-clickhouse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ TRUNCATE TABLE IF EXISTS system.query_views_log;
"
}

if $ps_command | grep -q clickhouse; then
if $ps_command | grep clickhouse >/dev/null; then
start_service_and_wait_ready clickhouse
drop_clickhouse_system_table_if_exists query_log_0
drop_clickhouse_system_table_if_exists query_views_log_0
Expand Down
2 changes: 1 addition & 1 deletion install/upgrade-clickhouse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ else
build_arg="--build-arg"
fi

if $ps_command | grep -q clickhouse; then
if $ps_command | grep clickhouse >/dev/null; then
# Start clickhouse if it is not already running
start_service_and_wait_ready clickhouse

Expand Down
Loading