diff --git a/etc/periodic/daily/490.status-pkg-changes b/etc/periodic/daily/490.status-pkg-changes index 60e3e8c6fb3a..548e10add795 100755 --- a/etc/periodic/daily/490.status-pkg-changes +++ b/etc/periodic/daily/490.status-pkg-changes @@ -23,7 +23,7 @@ case "$daily_status_pkg_changes_enable" in if [ -f $bak/pkg_info.bak ]; then mv -f $bak/pkg_info.bak $bak/pkg_info.bak2 fi - /usr/sbin/pkg_info > $bak/pkg_info.bak + ${pkg_info:-/usr/sbin/pkg_info} > $bak/pkg_info.bak cmp -sz $bak/pkg_info.bak $bak/pkg_info.bak2 if [ $? -eq 1 ]; then