Modification finale du script smbcc.sh.
This commit is contained in:
parent
ee8ba29e39
commit
996e230d44
@ -19,6 +19,7 @@ mount.cifs -o "username=$user,password=$pass" "//${chemin}" /tmp/samba
|
||||
|
||||
# Première vérification d'erreurs.
|
||||
if [[ $? != 0 ]] ; then
|
||||
echo "Erreur dans la commande mount.cifs, vérifiez les paramètres entrés."
|
||||
rmdir /tmp/samba
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user