Ernesto Nicolás Carrea il y a 5 ans
Parent
commit
b246128636
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      bin/hestia

+ 6 - 0
bin/hestia

@@ -7,6 +7,12 @@ source $HESTIA/func/main.sh
 source $HESTIA/conf/hestia.conf
 
 hestia() {
+
+    if [[ -z $@ ]]; then
+        echo "Hestia: command missing. Try 'hestia help' for more information."
+        exit
+    fi
+
     # Search for command file
     local cmd_name=''
     local cmd_file=''