aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos.K <freedomrfox@gmail.com>2017-08-25 05:33:38 +0300
committerChristos.K <freedomrfox@gmail.com>2017-08-25 05:33:38 +0300
commit778ba7717860e3d9c31d37ef6617307e148db4aa (patch)
tree6589a017a2b64387aab2e78a8e5ae4f832d5c408
parentIncluded fsck condition (diff)
downloadGSE-778ba7717860e3d9c31d37ef6617307e148db4aa.tar.gz
GSE-778ba7717860e3d9c31d37ef6617307e148db4aa.tar.bz2
GSE-778ba7717860e3d9c31d37ef6617307e148db4aa.zip
Fixed while input for /proc/mounts
-rwxr-xr-xconfig.d/controller/modules/functions/ct_netf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.d/controller/modules/functions/ct_netf.sh b/config.d/controller/modules/functions/ct_netf.sh
index 791bbdf..0b0b726 100755
--- a/config.d/controller/modules/functions/ct_netf.sh
+++ b/config.d/controller/modules/functions/ct_netf.sh
@@ -56,7 +56,7 @@ _server_exp() {
echo "Rejecting this entry"
fi
- done < <(grep "server" "${CTCONFDIR}/sources/sources.conf" | sed '/^#/ d' | sed '/^\s*$/d' | awk -F ':' '{print $2}')
+ done < $(grep "server" "${CTCONFDIR}/sources/sources.conf" | sed '/^#/ d' | sed '/^\s*$/d' | awk -F ':' '{print $2}')
# EXPORT SERVER ARRAY SIZE -1
# WE SUBSTRACT -1 BECAUSE ARRAYS START FROM 0 ENTRY