From 5c7223def88ad44f841979d7aa8472c4ea716aa8 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sun, 5 May 2019 00:13:59 +0800 Subject: [PATCH] fix trigger --- scratch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratch b/scratch index c127737..ace3433 100755 --- a/scratch +++ b/scratch @@ -462,7 +462,7 @@ scratch_foreignpkg() { scratch_trigger() { needroot "Run trigger" - if [ -z "$@" ]; then + if [[ -z "$@" ]]; then for i in trig_{1..12}; do eval $i=1 done