Correct Pathing

This commit is contained in:
Price Hiller 2022-01-01 04:22:06 -06:00
parent 1310f42321
commit 99e72dbbae

View File

@ -649,7 +649,7 @@ view() {
server_directory="${BASE_DIR}/${server_name}"
server_log_dir="${server_directory}/7DaysToDieServer_Data"
tail -f "${server_log_dir}/$(ls -t "${server_log_dir}"/output_log* | head -1)"
tail -f "$(ls -t "${server_log_dir}"/output_log* | head -1)"
}
list_servers() {