diff options
author | sinanmohd <sinan@firemail.cc> | 2023-07-11 08:21:38 +0530 |
---|---|---|
committer | sinanmohd <sinan@firemail.cc> | 2023-07-11 08:21:38 +0530 |
commit | fc9e67a6403df05fcd6804472582c913d93a1514 (patch) | |
tree | 51a0d08cd23ab0d50fb2ee212a957ddb7a61fcc2 /redditorsbtfo.sh | |
parent | 96e6a7f430de5ac009da973e90d2610ce7767c5d (diff) |
Diffstat (limited to 'redditorsbtfo.sh')
-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 |