[PVE-User] Hide the 200 OK from pvesh
dietmar at proxmox.com
Fri Dec 2 12:16:29 CET 2016
pvesh prints that to stderr, so you just need to redirect stderr.
> That's also on the forum, if I get an answer here I'll update there.
> Is there a simple way to prevent pvesh from outputting 200 OK to the tty ?
> Redirecting 1 and 2 doesn't seem to do anything so I assume it writes directly
> to the tty, which is very annoying in a script.
> Currently the script just shows a bunch of 200 OK in between my actual output
> lines, it's very ugly.
> Kevin Lemonnier
> PGP Fingerprint : 89A5 2283 04A0 E6E9 0111
> pve-user mailing list
> pve-user at pve.proxmox.com
More information about the pve-user