diff options
Diffstat (limited to 'mltk')
-rwxr-xr-x | mltk | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -243,7 +243,8 @@ read_params() { done # exit if no command - if [ -z "$MODE_CLEAN" ] || [ -z "$MODE_BUILD" ] || [ -z "$MODE_EXPORT" ]; then + if [ -z "$MODE_CLEAN" ] && [ -z "$MODE_BUILD" ] && [ -z "$MODE_EXPORT" ]; then + pwarning "No action specified" print_usage exit 1 fi |