Introduction
Introduction Statistics Contact Development Disclaimer Help
flatten the while/if loop using conitinue - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 943d44215057ce4f29d99c06c30be236fcfff065
parent b17b70bb499d4e446b86fdc682611d2047c71d57
Author: Josuah Demangeon <[email protected]>
Date: Mon, 8 Mar 2021 00:48:55 +0100
flatten the while/if loop using conitinue
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-start-services | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/annna-start-services b/annna-start-services
@@ -815,8 +815,11 @@ do
[ -p "${iibase}/${channel}/in" ] \
&& chmod o+w "${iibase}/${channel}/in"
- if [ -f "${iibase}/${channel}/out" ];
+ if [ ! -f "${iibase}/${channel}/out" ];
then
+ continue
+ fi
+
{
ls "${iibase}/${channel}/out" | entr tail -n 1 "${iibase}/${ch…
| sed -nu 's,[0-9]* <\([^ >]*\)> \(.*\),\1 \2,p' \
@@ -834,6 +837,5 @@ do
done
}
} &
- fi
done
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.