mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-28 14:25:32 +08:00
GP-2852 fix svrAdmin when repo name contains a space
This commit is contained in:
@@ -456,6 +456,9 @@ public class ServerAdmin implements GhidraLaunchable {
|
|||||||
Msg.error(CommandProcessor.class, "Repository not found: " + repName);
|
Msg.error(CommandProcessor.class, "Repository not found: " + repName);
|
||||||
System.exit(-1);
|
System.exit(-1);
|
||||||
}
|
}
|
||||||
|
if (repName.contains(" ")) {
|
||||||
|
args[i] = "\"" + repName + "\"";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user