From: Arvin Schnell Date: Thu, 18 Dec 2025 09:43:47 +0000 (+0100) Subject: - coding style X-Git-Tag: v0.13.1~61^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1074%2Fhead;p=thirdparty%2Fsnapper.git - coding style --- diff --git a/client/snbk/Shell.cc b/client/snbk/Shell.cc index 9cf38784..1c41ab69 100644 --- a/client/snbk/Shell.cc +++ b/client/snbk/Shell.cc @@ -57,9 +57,11 @@ namespace snapper } - string wrap_shell_args(const Shell& shell, const SystemCmd::Args& args) + string + wrap_shell_args(const Shell& shell, const SystemCmd::Args& args) { - string tmp = quote(args); + const string tmp = quote(args); + switch (shell.mode) { case Shell::Mode::DIRECT: @@ -99,6 +101,7 @@ namespace snapper __builtin_unreachable(); } + SystemCmd::Args shellify_pipe(const Shell& shell1, const SystemCmd::Args& args1, const Shell& shell2, const SystemCmd::Args& args2)