From 58517b7d69430f2443a1f7fdb63d84d448754093 Mon Sep 17 00:00:00 2001 From: rpe Date: Sun, 21 Aug 2016 18:47:01 +0000 Subject: [PATCH] tweak previous OK halex, krw --- distrib/miniroot/install.sub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 8df92d6239e..b42909635c4 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.903 2016/08/17 13:53:20 krw Exp $ +# $OpenBSD: install.sub,v 1.904 2016/08/21 18:47:01 rpe Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -527,7 +527,7 @@ get_responsefile() { _lf=/var/db/dhclient.leases.$_if _aifile=$(lease_value $_lf filename bootfile-name) - [[ $_aifile = ?(*/)auto_@(install|upgrade) ]] || _aifile= + [[ $_aifile == ?(*/)auto_@(install|upgrade) ]] || _aifile= _path=${_aifile%auto_@(install|upgrade)} _mode=${_aifile##*?(/)auto_} -- 2.20.1