summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/settrans.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/settrans.c b/utils/settrans.c
index 89efee19..a6e37049 100644
--- a/utils/settrans.c
+++ b/utils/settrans.c
@@ -127,6 +127,9 @@ main(int argc, char *argv[])
default: usage(-1);
}
+ if (! node_name)
+ usage (-1);
+
if (!active && !passive)
passive = 1;