diff options
-rwxr-xr-x | redditorsbtfo.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redditorsbtfo.sh b/redditorsbtfo.sh index ae0b892..4798d7f 100755 --- a/redditorsbtfo.sh +++ b/redditorsbtfo.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh data_dir="data" @@ -100,7 +100,7 @@ get_subs_v2() if [ -n "$data" ]; then page=$((page + 1)) - [ "$(echo "$data" | jq -r '.next')" == "null" ] && + [ "$(echo "$data" | jq -r '.next')" = "null" ] && break; fi |