From a15d42d8903ce453b2750fa669cebc0ca6d072ec Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 29 Jun 2009 21:29:27 -0400 Subject: [PATCH] Correct copy commmand --- etc/sshd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/sshd b/etc/sshd index c355f73649..5ca5e49356 100755 --- a/etc/sshd +++ b/etc/sshd @@ -48,7 +48,7 @@ /* restore ssh data for nanobsd platform */ if($g['platform'] == "nanobsd" and file_exists("/conf/sshd/ssh_host_key")) { if(!file_exists("/etc/ssh/sshd_host_key.pub")) { - cp("/conf/sshd/* /etc/ssh/"); + exec("/conf/sshd/* /etc/ssh/"); } }