Files
scylladb/bin/nodetool
Avi Kivity 0ae22a09d4 LICENSE: Update to version 1.1
Updated terms of non-commercial use (must be a never-customer).
2026-04-12 19:46:33 +03:00

17 lines
365 B
Bash
Executable File

#!/bin/bash -e
#
# Copyright (C) 2024-present ScyllaDB
#
#
# SPDX-License-Identifier: LicenseRef-ScyllaDB-Source-Available-1.1
#
trap 'echo "error $? in $0 line $LINENO"' ERR
SCRIPT_PATH=$(dirname $(realpath "$0"))
INSTALLED_SCYLLA_PATH="${SCRIPT_PATH}/scylla"
# Allow plugging scylla path for local testing
exec ${SCYLLA:-${INSTALLED_SCYLLA_PATH}} nodetool $@