From 21da75adabc53c13b70deeda16a0280a1351edd2 Mon Sep 17 00:00:00 2001 From: 0rtz <46892933+0rtz@users.noreply.github.com> Date: Sat, 16 Dec 2023 16:33:24 +0300 Subject: [PATCH] Use cat instead of _cat _cat is not defined/autoloaded anywhere, so use plain unix cat utility to avoid getting "command not found" error --- tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomb b/tomb index b02a3a4..206dc3f 100755 --- a/tomb +++ b/tomb @@ -2525,7 +2525,7 @@ mount_tomb() { if command -v hostname >/dev/null; then _update_control_file "${tombmount}/.host" `hostname` elif [[ -r /etc/hostname ]]; then - _update_control_file "${tombmount}/.host" $(_cat /etc/hostname) + _update_control_file "${tombmount}/.host" $(cat /etc/hostname) else _update_control_file "${tombmount}/.host" localhost fi