summaryrefslogtreecommitdiff
path: root/.gitcheck
diff options
context:
space:
mode:
Diffstat (limited to '.gitcheck')
-rwxr-xr-x.gitcheck6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitcheck b/.gitcheck
index c73c6b16..6dfdb362 100755
--- a/.gitcheck
+++ b/.gitcheck
@@ -21,8 +21,10 @@ Clean(){
}
Run(){
-if [ "${1}" = "clean" ]; then
- Clean
+if [ $# -gt 0 ]; then
+ if [ "${1}" = "clean" ]; then
+ Clean
+ fi
else
Set_placeholder