From 44e452fb3c8cc7a093d72fbc280be3973e627a62 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 19 Apr 2019 21:26:04 -0400 Subject: Add braces to param exps in arith substs --- (limited to 'src/fd.sh') diff --git a/src/fd.sh b/src/fd.sh index c52efec..345eee6 100644 --- a/src/fd.sh +++ b/src/fd.sh @@ -60,7 +60,7 @@ fopen() fd=${i} break fi - i=$(($i + 1)) + i=$((${i} + 1)) done if [ "x${fd:+set}" != 'xset' ]; then error "$(get_msg 'emfile')" -- cgit v0.9.1