Use cat instead of _cat

_cat is not defined/autoloaded anywhere, so use plain unix cat utility
to avoid getting "command not found" error
This commit is contained in:
0rtz 2023-12-16 16:33:24 +03:00 committed by Jaromil
parent a0b633fb77
commit 21da75adab
1 changed files with 1 additions and 1 deletions

2
tomb
View File

@ -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