From 2eea8f06cb26cd1dbd86da8aa16316e7fb458cfa Mon Sep 17 00:00:00 2001 From: Antoine Jacoutot Date: Sat, 2 Nov 2013 11:57:52 +0100 Subject: [PATCH] Fix output when no binpatch is installed. --- openup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openup b/openup index 617decf..97e11be 100755 --- a/openup +++ b/openup @@ -235,7 +235,7 @@ check_vuxml() { do_i_need_to_reboot() { # XXX hardcoded PKG_DBDIR - local kern_bp_time=$(stat -f "%Um" /var/db/pkg/binpatch${_REL_INT}-${_ARCH}-kernel-*) + local kern_bp_time=$(stat -qf "%Um" /var/db/pkg/binpatch${_REL_INT}-${_ARCH}-kernel-*) local wake_up=$(sysctl -n kern.boottime) if [ "${wake_up}" -lt "${kern_bp_time}" ]; then