rc.d/hostid: remove useless cat

We've already read it and validated it ‒ re-reading is wasteful

PR:		264376
This commit is contained in:
наб 2022-05-31 01:18:12 +02:00 committed by Ed Maste
parent 3c4266eda1
commit 11bd40d04a

View file

@ -138,7 +138,7 @@ hostid_start()
if [ -r ${hostid_file} ]; then
read saved_hostid < ${hostid_file}
if valid_hostid ${saved_hostid}; then
hostid_set `cat ${hostid_file}`
hostid_set ${saved_hostid}
exit 0
fi
fi