diff --git a/perl-xCAT/xCAT/RemoteShellExp.pm b/perl-xCAT/xCAT/RemoteShellExp.pm index b99faa75d..d62af4d10 100755 --- a/perl-xCAT/xCAT/RemoteShellExp.pm +++ b/perl-xCAT/xCAT/RemoteShellExp.pm @@ -618,7 +618,7 @@ sub sendnodeskeys next; } - my @result = $sendkeys->expect( + @result = $sendkeys->expect( $timeout, [ $prompt1, # Are you sure you want to ... @@ -704,7 +704,7 @@ sub sendnodeskeys #run copy.sh prompts starts here # - my @result = $sendkeys->expect( + @result = $sendkeys->expect( $timeout, [ $prompt1, # Are you sure you want to ...