]> Nishi Git Mirror - gwion.git/commitdiff
🐛 Fix async mode 197/head
authorumer2001 <umer2001.uf@gmail.com>
Tue, 6 Oct 2020 15:11:38 +0000 (20:11 +0500)
committerumer2001 <umer2001.uf@gmail.com>
Tue, 6 Oct 2020 15:11:38 +0000 (20:11 +0500)
scripts/test.sh

index ecbbc5b03acbb53ffdc783fc0e8bab2c15b39d91..fbd9e82d5efd7182ad4e58ff7e030890ae526f42 100644 (file)
@@ -187,7 +187,7 @@ test_dir() {
   n=$2
   l=$n
   offset=$n
-  [ "$async" -lt 0 ] && set -m
+  [ "$async" -gt 0 ] && set -m
   found=0
   grep '\.gw' <<< "$(ls "$1")" &> /dev/null && found=1
   if [ "$found" -eq 1 ]