From: norbert.bizet Date: Thu, 6 Apr 2023 16:40:16 +0000 (-0400) Subject: fix warning in compat.cpp X-Git-Tag: Beta-15.0.0~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6f83be709a1d228e5f8839f90ddafad1ca32425;p=thirdparty%2Fbacula.git fix warning in compat.cpp --- diff --git a/bacula/src/win32/compat/compat.cpp b/bacula/src/win32/compat/compat.cpp index 2b16ca232..bc45fe103 100644 --- a/bacula/src/win32/compat/compat.cpp +++ b/bacula/src/win32/compat/compat.cpp @@ -2678,7 +2678,7 @@ CreateChildProcess(const char *cmdline, HANDLE in, HANDLE out, HANDLE err, POOL_MEM cmdLine(PM_FNAME); if (cmd_string_opt) { /* For working around multiple double quotes in the exe and arguments, we use the /s cmd option */ - /* /s skips the parsing rules of /c and only strips the first and last quote so: + /* /s skips the parsing rules of /c and only strips the first and last quote so: */ /* cmd.exe /s /c ""C:\program files\myexe.exe" -file "C:\program files\args.txt"" will respect both */ /* "C:\program files\myexe.exe" and "C:\program files\args.txt" quotes */ Mmsg(cmdLine, "%s /s /c \"\"%s\"%s\"", comspec, exeFile, argStart);