aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlav Vitters <olav@vitters.nl>2020-08-12 15:47:42 +0200
committerOlav Vitters <olav@vitters.nl>2020-08-12 15:47:42 +0200
commitc4a887f13c7096c71494910a1ddaa626dc2a073c (patch)
tree5e2c155c2449fcd0179df2fa81c128d00f67fdd9
parent14b25b63f1e9fe0d8ff67e57727a3d91dd164f1e (diff)
downloadinitscripts-c4a887f13c7096c71494910a1ddaa626dc2a073c.tar
initscripts-c4a887f13c7096c71494910a1ddaa626dc2a073c.tar.gz
initscripts-c4a887f13c7096c71494910a1ddaa626dc2a073c.tar.bz2
initscripts-c4a887f13c7096c71494910a1ddaa626dc2a073c.tar.xz
initscripts-c4a887f13c7096c71494910a1ddaa626dc2a073c.zip
network-up: fix shellcheck expression warning
-rwxr-xr-xmageia/etc/rc.d/init.d/network-up2
1 files changed, 1 insertions, 1 deletions
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