mirror of
https://github.com/dyne/Tomb
synced 2024-10-18 15:42:17 +00:00
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:
parent
a0b633fb77
commit
21da75adab
2
tomb
2
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
|
||||
|
|
Loading…
Reference in a new issue