summaryrefslogtreecommitdiff
path: root/fml/lib/FML/Process/Command.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-04-28 04:08:00 +0000
committerfukachan <fukachan>2004-04-28 04:08:00 +0000
commit483bef87b2fbaef948d041c103d3d502564265ce (patch)
tree35e893b7d59a734caa389445794dad5776cb65d9 /fml/lib/FML/Process/Command.pm
parent223cb1fb797fc003548284ed563448123f598aee (diff)
downloadfml8-483bef87b2fbaef948d041c103d3d502564265ce.tar.gz
fml8-483bef87b2fbaef948d041c103d3d502564265ce.tar.bz2
fml8-483bef87b2fbaef948d041c103d3d502564265ce.zip
correct error message
Diffstat (limited to 'fml/lib/FML/Process/Command.pm')
-rw-r--r--fml/lib/FML/Process/Command.pm8
1 files changed, 5 insertions, 3 deletions
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;
}