From: kn Date: Sat, 5 Nov 2022 12:03:58 +0000 (+0000) Subject: Print full path in usage; OK jmc X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ac570418bf00ddcedd942b949c4442a4946a39f3;p=openbsd Print full path in usage; OK jmc --- 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 }