-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Tue, Jul 05, 2016 at 09:01:01AM -0700, Eva Star wrote:
> Unfortunately, this does not work at bash script, only when you execute 
> echo $? on console its give you right results. When you execute this 
> command with sh script then it always return 0. I think the problem that on 
> bash script its return qvm-run echo code instead of remote code.

Yes, when you include 'echo' (or anything else after that 'test') inside
qvm-run argument, it will shadow exit code. If executing just 'test -r
somefile' through qvm-run should just work.


- -- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXe/e4AAoJENuP0xzK19csMrkH/jJLw32lRdtrCdWryldAi9Id
jhsCjxIUjkXj733NOGhFVoxDs6OhJeL9oqc4SFtRDjuahBfAUi4x4+oCu7vG2+r2
sFD9ahNAoCp6I7eZsa25eJzaqWFGiDdvY0Q9HPY9AqyDkZ5GO3v+fsRplM4TVk2I
HC7+s0RnjI5FtiJUHt5SDWmLkq8b1m8e+wXt+3LQPBEgATnBx6+gScuXHHdkBXah
LYaoAUGAEl8BefkqvMb5X8PcElSsZq63dkkPPFr40DSTI6FGNClhBQr833wnxOVI
uKXA/hZmrMeFWq+orA/prMnrVgKE6+7K3Cg5WGfujYTKm422q7rvWTDYjnczarg=
=mAYL
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/20160705180856.GU4609%40mail-itl.
For more options, visit https://groups.google.com/d/optout.

Reply via email to