mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2025-01-26 02:16:35 +00:00
fix condition
This commit is contained in:
parent
3a2efce6d0
commit
f9097b559f
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# 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
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue