randomWallpaper: use [[]] instead of []

This commit is contained in:
Aly Raffauf 2024-06-15 11:30:17 -04:00
parent 2c968598b7
commit c7a02e12ec
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@
NEW_PIDS+=($!)
done
if [ ''${OLD_PIDS[@]} -gt 0 ]; then
if [[ ''${OLD_PIDS[@]} -gt 0 ]]; then
sleep 5
for pid in ''${OLD_PIDS[@]}; do
kill $pid

View file

@ -21,7 +21,7 @@
NEW_PIDS+=($!)
done
if [ ''${OLD_PIDS[@]} -gt 0 ]; then
if [[ ''${OLD_PIDS[@]} -gt 0 ]]; then
sleep 5
fi