From cb8b967139c39be7e9d2b12eb8bf0c913e3abe68 Mon Sep 17 00:00:00 2001 From: Alexander Hall Date: Sun, 23 Feb 2014 20:10:00 +0000 Subject: print out the path to the firmware packages in verbose mode, for use with the upcoming -p flag --- usr.sbin/fw_update/fw_update.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin/fw_update') diff --git a/usr.sbin/fw_update/fw_update.sh b/usr.sbin/fw_update/fw_update.sh index 7f8e882a5c3..b3d5a22e373 100644 --- a/usr.sbin/fw_update/fw_update.sh +++ b/usr.sbin/fw_update/fw_update.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $OpenBSD: fw_update.sh,v 1.19 2014/01/30 00:12:09 halex Exp $ +# $OpenBSD: fw_update.sh,v 1.20 2014/02/23 20:09:59 halex Exp $ # Copyright (c) 2011 Alexander Hall # # Permission to use, copy, modify, and distribute this software for any @@ -113,6 +113,8 @@ elif $delete && [ -z "$update" ]; then exit 0 fi +$delete || verbose "Path to firmware: $PKG_PATH" + [ "$nop" ] || [ 0 = $(id -u) ] || { echo "${0##*/} must be run as root" >&2; exit 1; } -- cgit v1.2.3