mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2025-01-27 13:06:35 +00:00
fix condition
This commit is contained in:
parent
3a2efce6d0
commit
f9097b559f
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Extract fields from statuses
|
# Extract fields from statuses
|
||||||
if [ ! -f "$main_basedir"/statuses/$instance/*/*.json ]; then
|
check_ids=$(echo "$main_basedir"/statuses/$instance/*/*.json)
|
||||||
|
if [ ! -n "$check_ids" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue