From af7974b520fddf67857adac6fe5a878d8ae3ba12 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 20 Jan 2010 20:11:43 +0000 Subject: [PATCH] fix error message git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DSHCLI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/DSHCLI.pm b/perl-xCAT/xCAT/DSHCLI.pm index 06f08372a..b982065ab 100644 --- a/perl-xCAT/xCAT/DSHCLI.pm +++ b/perl-xCAT/xCAT/DSHCLI.pm @@ -4036,8 +4036,8 @@ sub parse_and_run_dcp my $syncfile = $options{'File'}; if (!-f $options{'File'}) { - - my $rsp->{data}->[0] = "File:$syncfile does not exist."; + my $rsp = (); + $rsp->{data}->[0] = "File:$syncfile does not exist."; xCAT::MsgUtils->message("E", $rsp, $::CALLBACK, 1); return; }