diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 09:31:21 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 09:31:21 -0500 |
commit | 5e58d1a75edb3b057fe7291f3835c9ded076b0c8 (patch) | |
tree | 8863f36dac47a3747f06965b1403c34bcdfd5803 /src/artifactory.c | |
parent | 03d49ec76e6c4460627b8ebcbd065b0dfac551ae (diff) | |
download | stasis-5e58d1a75edb3b057fe7291f3835c9ded076b0c8.tar.gz |
Refactor std{out,err} to f_std{out,err}
* Bare stdout and stderr, even as struct members, tend to conflict with numerous libc implementations.
Diffstat (limited to 'src/artifactory.c')
-rw-r--r-- | src/artifactory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/artifactory.c b/src/artifactory.c index 972f27b..790d9ed 100644 --- a/src/artifactory.c +++ b/src/artifactory.c @@ -198,8 +198,8 @@ int jfrog_cli(struct JFRT_Auth *auth, char *args) { msg(OMC_MSG_L2, "Executing: %s\n", cmd_redacted); if (!globals.verbose) { - strcpy(proc.stdout, "/dev/null"); - strcpy(proc.stderr, "/dev/null"); + strcpy(proc.f_stdout, "/dev/null"); + strcpy(proc.f_stderr, "/dev/null"); } status = shell(&proc, cmd); return status; |