I dont' care if commands fails "2>/dev/null" else I need to know $?

This commit is contained in:
qo-op 2021-07-08 22:34:20 +02:00
parent 1331c70039
commit 7b3196d5a3
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ if [[ $NEW == 1 ]]; then
fi
else
## PUT DATA IN NEXTCLOUD FOLDER
## PUT DATA IN NEXTCLOUD FOLDER ( I dont' care if commands fails 2>/dev/null )
sudo cp ../img/MadeInZion_G1_ASTROPORT.png /var/www/nextcloud/data/${xzuid}/files/MadeInZion/ 2>/dev/null
sudo cp /home/${YOU}/.zen/SMS/PHONE/${phonehash}/avatar.jpg /var/www/nextcloud/data/${xzuid}/files/MadeInZion/ 2>/dev/null
sudo cp /home/${YOU}/.zen/SMS/PHONE/${phonehash}/QR.png /var/www/nextcloud/data/${xzuid}/files/MadeInZion/QR_${G1}.png 2>/dev/null