From fd800a70d793330749a229481a55069bcd0b07f9 Mon Sep 17 00:00:00 2001 From: "ayoub.boullouh" Date: Mon, 11 Apr 2022 15:37:07 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'sisr1/40-bash/rmsa?= =?UTF-8?q?mba.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sisr1/40-bash/rmsamba.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sisr1/40-bash/rmsamba.sh b/sisr1/40-bash/rmsamba.sh index ca9d167..4a84185 100755 --- a/sisr1/40-bash/rmsamba.sh +++ b/sisr1/40-bash/rmsamba.sh @@ -1,17 +1,17 @@ #!/bin/bash -#crsamba2 +#rmsamba #set -e #set -u fich=$1 -if [[ $# -ne 1 ]] ; then +if [[ $# -ne 1 ]] ; then #si la syntaxe est incorect on sort du fichier echo "usage : $0 " exit 1 fi -if [[ ! -r "${fich}" ]] ; then +if [[ ! -r "${fich}" ]] ; then echo "$0 : erreur d'ouverture du fichier ${fich}" exit 2 fi