don't copy over

This commit is contained in:
paukstelis
2022-10-23 09:28:34 -04:00
parent f2d3428488
commit 92392cf151

View File

@@ -1033,6 +1033,9 @@ sync_users() {
#re-read to avoid the Quit
readarray -t instances < <(cat /etc/octoprint_instances | sed -n -e 's/^instance:\([[:graph:]]*\) .*/\1/p')
for instance in "${instances[@]}"; do
if [ "$instance" == "$opt" ]; then
continue
fi
if [ "$instance" == generic ]; then
sudo -u $user cp $userfile /home/$user/.octoprint/
else