mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-29 13:41: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)
|
write_status_action=$(/bin/ls $main_basedir/all_statuses/$instance/create 2>/dev/null)
|
||||||
if [ -n "$write_status_action" ]; then
|
if [ -n "$write_status_action" ]; then
|
||||||
dir_write_status=$(dirname "$write_status_action")
|
dir_write_status=$(dirname "$write_status_action")
|
||||||
if [ -d "$dir_status/attachments" ]; then
|
if [ -d "$dir_write_status/attachments" ]; then
|
||||||
attach_id=''
|
attach_id=''
|
||||||
echo "Uploading attachments..."
|
echo "Uploading attachments..."
|
||||||
for attach in "$dir_write_status"/attachments/*; do
|
for attach in "$dir_write_status"/attachments/*; do
|
||||||
|
|
Loading…
Reference in a new issue