Skip to content
Snippets Groups Projects
Commit cc3c31e1 authored by Jiří Kalvoda's avatar Jiří Kalvoda
Browse files

KAM Bugfix.

parent 95810238
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ int main(int argc,char ** argv)
}
else if(par["-m"]!="")
{
sprintf(exe,"");
char from[LEN],to[LEN];
if(par["-home"]!="")
{
......@@ -95,10 +96,12 @@ int main(int argc,char ** argv)
}
else
sprintf(to,"%s",par["-n"].c_str());
puts(exe);
sprintf(exe,
"%smkdir %s;"
"sshfs -p %d %s@%s:%s %s",
exe,to,port,user,server,from,to);
puts(exe);
}
else if(par["-u"]!="")
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment