From ac570418bf00ddcedd942b949c4442a4946a39f3 Mon Sep 17 00:00:00 2001 From: kn Date: Sat, 5 Nov 2022 12:03:58 +0000 Subject: [PATCH] Print full path in usage; OK jmc --- etc/netstart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/netstart b/etc/netstart index 8c2e30214f4..b89b1be4623 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,13 +1,13 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.227 2022/11/01 11:18:06 kn Exp $ +# $OpenBSD: netstart,v 1.228 2022/11/05 12:03:58 kn Exp $ # Turn off Strict Bourne shell mode. set +o sh # Show usage of the netstart script and exit. usage() { - print -u2 "usage: sh ${0##*/} [-n] [interface ...]" + print -u2 "usage: sh $0 [-n] [interface ...]" exit 1 } -- 2.20.1