fix inst-rasp.sh
This commit is contained in:
parent
5d321ed187
commit
e3b2807b6a
@ -184,10 +184,11 @@ printSuccess "Role updated successfully"
|
|||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
printInfo "CleanUp"
|
printInfo "CleanUp"
|
||||||
rm -rf /tmp/yumupd
|
rm -rf /tmp/yumupd
|
||||||
rerror=$?
|
rerror1=$?
|
||||||
rm -rf /tmp/hostsupd
|
rm -rf /tmp/hostsupd
|
||||||
let "$rerror=$rerror+$?"
|
$rerror2=$?
|
||||||
if [ $rerror -ne 0 ]; then printError "Problem to cleanUP";exit; fi
|
sum=$(( $rerror1 + $rerror2 ))
|
||||||
|
if [ $sum -ne 0 ]; then printError "Problem to cleanUP";exit; fi
|
||||||
printSuccess "CleanUp successfully"
|
printSuccess "CleanUp successfully"
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user