aboutsummaryrefslogtreecommitdiff
path: root/redditorsbtfo.sh
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-07-11 08:21:38 +0530
committersinanmohd <sinan@firemail.cc>2023-07-11 08:21:38 +0530
commitfc9e67a6403df05fcd6804472582c913d93a1514 (patch)
tree51a0d08cd23ab0d50fb2ee212a957ddb7a61fcc2 /redditorsbtfo.sh
parent96e6a7f430de5ac009da973e90d2610ce7767c5d (diff)
clean up: move to /bin/sh, probably used bash for testingHEADmaster
Diffstat (limited to 'redditorsbtfo.sh')
-rwxr-xr-xredditorsbtfo.sh4
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