From 483bef87b2fbaef948d041c103d3d502564265ce Mon Sep 17 00:00:00 2001 From: fukachan Date: Wed, 28 Apr 2004 04:08:00 +0000 Subject: correct error message --- fml/lib/FML/Process/Command.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'fml/lib/FML/Process/Command.pm') diff --git a/fml/lib/FML/Process/Command.pm b/fml/lib/FML/Process/Command.pm index 04d2f49e..b452a37f 100644 --- a/fml/lib/FML/Process/Command.pm +++ b/fml/lib/FML/Process/Command.pm @@ -3,7 +3,7 @@ # Copyright (C) 2000,2001,2002,2003,2004 Ken'ichi Fukamachi # All rights reserved. # -# $FML: Command.pm,v 1.103 2004/04/22 12:43:19 fukachan Exp $ +# $FML: Command.pm,v 1.104 2004/04/23 04:10:35 fukachan Exp $ # package FML::Process::Command; @@ -449,8 +449,10 @@ sub _command_execute # command dependent syntax checker. unless ($dispatch->verify_syntax($curproc, $command_args)) { - $curproc->reply_message_nl('command.fail', "fail.", $msg_args); - $curproc->logerror("fail to execute \"$masked_command\""); + $curproc->reply_message_nl('command.insecure', + "stopped due to insecure syntax.", + $msg_args); + $curproc->logerror("insecure syntax: \"$masked_command\""); return 0; } -- cgit v1.2.1