You are not logged in.

#1 2015-11-10 15:16:11

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

TrueCrypt and listing error output

Hi! When I do "truecrypt -t -l", I get a message: "Error: No volumes mounted" if nothing encrypted is mounted. And I use this in a script which shouldn't output this message if no encrypted volumes mounted. I haven't found any "silent" options in man page. Is it possible to silence this output?

Offline

#2 2015-11-10 15:17:22

frostschutz
Member
Registered: 2013-11-15
Posts: 1,499

Re: TrueCrypt and listing error output

You could redirect stderr:

some bad command 2> /dev/null

but it will also hide any and all other problems ...

Offline

#3 2015-11-10 17:41:38

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: TrueCrypt and listing error output

Thanks! Will "&>" also do the same?

Offline

Board footer

Powered by FluxBB