Re: pkg_add, stdout and exit code

2019-02-13 Thread Wesley Mouedine Assaby
What's about the stdout ? On 13.02.2019 02:11, Solene Rapenne wrote: On Wed, Feb 13, 2019 at 01:56:07AM -0500, Wesley Mouedine Assaby wrote: Hi all, I'm using OpenBSD 6.4 amd64 (GENERIC.MP) #6 Using 'pkg_add' i can't access stdout, and the exit code stays 0 whatever it finds or not the pack

Re: pkg_add, stdout and exit code

2019-02-12 Thread Solene Rapenne
On Wed, Feb 13, 2019 at 01:56:07AM -0500, Wesley Mouedine Assaby wrote: > Hi all, > > I'm using OpenBSD 6.4 amd64 (GENERIC.MP) #6 > > Using 'pkg_add' i can't access stdout, and the exit code stays 0 whatever it > finds or not the package to install. > > Example : > doas pkg_add sl > file.stdout

pkg_add, stdout and exit code

2019-02-12 Thread Wesley Mouedine Assaby
Hi all, I'm using OpenBSD 6.4 amd64 (GENERIC.MP) #6 Using 'pkg_add' i can't access stdout, and the exit code stays 0 whatever it finds or not the package to install. Example : doas pkg_add sl > file.stdout echo $? # exit code is 0 cat file.stdout # empty file or doas pkg_add sl > file.stdout