schema compile BUGFIX typo
diff --git a/src/schema_compile_node.c b/src/schema_compile_node.c
index d2c6d2f..74448d7 100644
--- a/src/schema_compile_node.c
+++ b/src/schema_compile_node.c
@@ -2427,7 +2427,7 @@
 
     /* output */
     lysc_update_path(ctx, &action->node, "output");
-    if (action_p->input.nodetype == LYS_UNKNOWN) {
+    if (action_p->output.nodetype == LYS_UNKNOWN) {
         output = &implicit_output;
     } else {
         output = &action_p->output;