From 91431d94b140adaedd0200251660ccd0cced2d5e Mon Sep 17 00:00:00 2001 From: Lorenzo Cogotti Date: Tue, 10 Aug 2021 14:01:49 +0200 Subject: [PATCH] [tools/bgpscanner] Fix chknospc() --- tools/bgpscanner/bgpscanner | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bgpscanner/bgpscanner b/tools/bgpscanner/bgpscanner index a0cc6dd..f141732 100755 --- a/tools/bgpscanner/bgpscanner +++ b/tools/bgpscanner/bgpscanner @@ -129,7 +129,7 @@ chkprefix() { } chknospc() { case "$1" in - ''|*[![:space:]]*) die "'$1': Invalid argument";; + ''|*[[:space:]]*) die "'$1': Invalid argument";; *) ;; esac }