mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 10:48:02 +00:00 
			
		
		
		
	gui-cmd: Fix problem in scp call.
This commit is contained in:
		| @@ -150,6 +150,7 @@ if ($ttype ne "") { | |||||||
|       } |       } | ||||||
|       else { |       else { | ||||||
|         # Copy some place it can be seen easily? |         # Copy some place it can be seen easily? | ||||||
|  |         print("LANforge GUI test complete, rpt-dest: $rpt_dest  location: $loc\n"); | ||||||
|         if ($rpt_dest ne "") { |         if ($rpt_dest ne "") { | ||||||
|           if (-d $loc) { |           if (-d $loc) { | ||||||
|             # Must be on the local system |             # Must be on the local system | ||||||
| @@ -159,7 +160,7 @@ if ($ttype ne "") { | |||||||
|           } |           } | ||||||
|           else { |           else { | ||||||
|             # Must be on remote system, try scp to get it. |             # Must be on remote system, try scp to get it. | ||||||
|             my $cp = "scp -r lanforge@$lfmgr_host:$loc $rpt_dest"; |             my $cp = "scp -r lanforge\@$lfmgr_host:$loc $rpt_dest"; | ||||||
|             print "Secure Copy test results: $cp\n"; |             print "Secure Copy test results: $cp\n"; | ||||||
|             system($cp); |             system($cp); | ||||||
|           } |           } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Ben Greear
					Ben Greear