diff --git a/utils/new_module b/utils/new_module
index 8253e4f48f7f300e4130c6f05c8fdc7393641820..b6eecb27f8b9a8544b0eeb158a2600703834c70b 100755
--- a/utils/new_module
+++ b/utils/new_module
@@ -73,7 +73,7 @@ author=$2
 email=$3
 year=$(date +"%Y")
 
-if [ -z "$name" -o -z "$author" -o -z "$email" ]; then
+if [ -z "$name" ] || [ -z "$author" ] || [ -z "$email" ]; then
     [ -z "$name" ] && echo "ERROR: name is not valid"
     [ -z "$author" ] && echo "ERROR: author is not valid"
     [ -z "$email" ] && echo "ERROR: email is not valid"