summaryrefslogtreecommitdiffstats
path: root/mltk
diff options
context:
space:
mode:
Diffstat (limited to 'mltk')
-rwxr-xr-xmltk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mltk b/mltk
index cdac8cc7..5e227495 100755
--- a/mltk
+++ b/mltk
@@ -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