forked from wazuh/wazuh-docker
permanent data mount fix
This commit is contained in:
@@ -50,6 +50,8 @@ mount_permanent_data() {
|
|||||||
if find ${data_tmp} -mindepth 1 | read; then
|
if find ${data_tmp} -mindepth 1 | read; then
|
||||||
print "Installing ${permanent_dir}"
|
print "Installing ${permanent_dir}"
|
||||||
exec_cmd "cp -a ${data_tmp}. ${permanent_dir}"
|
exec_cmd "cp -a ${data_tmp}. ${permanent_dir}"
|
||||||
|
else
|
||||||
|
print "The path ${permanent_dir} is empty, skiped"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user