From c4a887f13c7096c71494910a1ddaa626dc2a073c Mon Sep 17 00:00:00 2001 From: Olav Vitters Date: Wed, 12 Aug 2020 15:47:42 +0200 Subject: network-up: fix shellcheck expression warning --- mageia/etc/rc.d/init.d/network-up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mageia/etc/rc.d/init.d/network-up b/mageia/etc/rc.d/init.d/network-up index c5c6c0ef..2ac8f514 100755 --- a/mageia/etc/rc.d/init.d/network-up +++ b/mageia/etc/rc.d/init.d/network-up @@ -173,7 +173,7 @@ case "$1" in while should_wait_network && [ $ELAPSED_TIME -lt $NETWORKDELAY ]; do sleep 1 - let ELAPSED_TIME=$ELAPSED_TIME+1 + (( ELAPSED_TIME++ )) done [ $ELAPSED_TIME -ge $NETWORKDELAY ] && failure || success echo -- cgit v1.2.1