Browse Source

rc.d/hostid: remove useless cat

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

PR:		264376
main
наб 1 month ago committed by Ed Maste
parent
commit
11bd40d04a
  1. 2
      libexec/rc/rc.d/hostid

2
libexec/rc/rc.d/hostid

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

Loading…
Cancel
Save