mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-25 21:21:26 +00:00
Fix write dir
This commit is contained in:
parent
9b9f27b2ff
commit
f44519ee22
|
@ -843,7 +843,7 @@ if [ "$daemon_mode" = 'yes' ]; then
|
|||
write_status_action=$(/bin/ls $main_basedir/all_statuses/$instance/create 2>/dev/null)
|
||||
if [ -n "$write_status_action" ]; then
|
||||
dir_write_status=$(dirname "$write_status_action")
|
||||
if [ -d "$dir_status/attachments" ]; then
|
||||
if [ -d "$dir_write_status/attachments" ]; then
|
||||
attach_id=''
|
||||
echo "Uploading attachments..."
|
||||
for attach in "$dir_write_status"/attachments/*; do
|
||||
|
|
Loading…
Reference in a new issue