aboutsummaryrefslogtreecommitdiff
path: root/pdoctave_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'pdoctave_command.c')
-rw-r--r--pdoctave_command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdoctave_command.c b/pdoctave_command.c
index b1f1d6b..de4135a 100644
--- a/pdoctave_command.c
+++ b/pdoctave_command.c
@@ -84,7 +84,8 @@ static void *newPDOctaveCommand (t_symbol *s, int argc, t_atom *argv)
post("getpdoctaveinstances returned %d", getPDOctaveInstances());
if (getPDOctaveInstances()<1) {
- post("Octave not running, insert a 'pdoctave' object!!");
+ error("Octave not running, insert a 'pdoctave' object!!");
+ return 0;
}
pdoctcmd_obj->pos = 0;
if (argc>0)