Fix rm of an unexisting file
This commit is contained in:
parent
5aecf8b8b1
commit
0001a46686
1 changed files with 6 additions and 2 deletions
|
|
@ -20,8 +20,12 @@ launch_screen()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$SU -c "$SCREEN -S '$1' -d -m bash -c '$CMD'" intradmin
|
$SU -c "$SCREEN -S '$1' -d -m bash -c '$CMD'" intradmin
|
||||||
sleep 1
|
|
||||||
/bin/rm "$TMP"
|
if [ -f "$TMP" ]
|
||||||
|
then
|
||||||
|
sleep 1
|
||||||
|
/bin/rm "$TMP"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$1" ]
|
if [ -z "$1" ]
|
||||||
|
|
|
||||||
Reference in a new issue