Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
selinux
/
d2914865822c5eabd42d0fc71294b117b42a7dfd
/
.
/
sandbox
/
start
blob: 4ed3cb5cf42759f405aad1916a4c0185f817fbf7 [
file
] [
log
] [
blame
]
#!/usr/bin/python3 -Es
try
:
from
subprocess
import
getstatusoutput
except
ImportError
:
from
commands
import
getstatusoutput
import
sys
rc
=
[-
1
,
''
]
try
:
rc
=
getstatusoutput
(
sys
.
argv
[
1
])
except
:
pass
if
rc
[
0
]
==
0
:
print
(
rc
[
1
])