commit 7bf4b852a7169e00be34f99ca9d006513476f9d8
parent 18850e61adfca1475e658802eac77b08d504b93e
Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe>
Date: Mon, 28 Feb 2022 12:06:06 -0500
fix: use test function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linux/.config/task/hooks/on-exit-sync.sh b/linux/.config/task/hooks/on-exit-sync.sh
@@ -6,7 +6,7 @@ do
n=$(($n + 1))
done
-if (($n > 0)); then
+if [ $n -gt 0 ]; then
echo "on-exit: Counted $n added/modified tasks."
task sync
fi