[UPDATE] - test from scratch
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [[ -x $1 ]]
|
||||
if [[ -x "$1" ]]
|
||||
then
|
||||
$1
|
||||
exit $?
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ WhileTrue() {
|
||||
|
||||
}
|
||||
|
||||
if [[ $1 == "debug" ]] && WhileTrue
|
||||
[[ $1 == "debug" ]] && WhileTrue
|
||||
|
||||
[[ $1 == "del" ]] && rm -Rf /data/repo /data/log
|
||||
|
||||
|
||||
Reference in New Issue
Block a user