Mise à jour de 'sisr1/40-bash/rmsamba.sh'
This commit is contained in:
parent
4af134abdf
commit
fd800a70d7
@ -1,12 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#crsamba2
|
#rmsamba
|
||||||
|
|
||||||
#set -e
|
#set -e
|
||||||
#set -u
|
#set -u
|
||||||
|
|
||||||
fich=$1
|
fich=$1
|
||||||
|
|
||||||
if [[ $# -ne 1 ]] ; then
|
if [[ $# -ne 1 ]] ; then #si la syntaxe est incorect on sort du fichier
|
||||||
echo "usage : $0 <fichier>"
|
echo "usage : $0 <fichier>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user