From 2589efdda542c0dea963a12516e25df449e4662e Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 4 May 2023 22:51:36 +0200 Subject: wwan: op-mode: T5196: inform user about unconfigured interface --- op-mode-definitions/show-interfaces-wwan.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-interfaces-wwan.xml.in b/op-mode-definitions/show-interfaces-wwan.xml.in index 2707c0d8e..45558115b 100644 --- a/op-mode-definitions/show-interfaces-wwan.xml.in +++ b/op-mode-definitions/show-interfaces-wwan.xml.in @@ -72,7 +72,7 @@ Show WWAN module detailed information summary - mmcli --modem ${4#wwan} + if cli-shell-api existsActive interfaces wwan $4; then mmcli --modem ${4#wwan}; else echo "Interface \"$4\" unconfigured!"; fi -- cgit v1.2.3