Commit 96033704 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Removed unnecessary trailing slash in the mocknameserver base path

parent 1d8da4bf
......@@ -412,7 +412,7 @@ This command will return the newly created path to the mock nameserver base dire
\end{verbatim}
Now we need to add it as a configuration parameter in the \texttt{castor.conf}, as in the following example:
\begin{verbatim}
TapeServer MockNameServerPath /tmp/CTAMockNS9r236q/
TapeServer MockNameServerPath /tmp/CTAMockNS9r236q
\end{verbatim}
\section{Set up the objectstore VFS backend}
......
......@@ -53,7 +53,6 @@ int main(void) {
strncpy(path, "/tmp/CTAMockNSXXXXXX", 100);
cta::exception::Errnum::throwOnNull(mkdtemp(path), "MockNameServer() - Failed to create temporary directory");
std::string pathString(path);
pathString+="/";
std::stringstream uidss;
uidss << getuid();
std::stringstream gidss;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment