diff options
author | PMR <pmr@pmr-lander> | 2019-10-10 06:56:53 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2019-10-10 06:56:53 +0000 |
commit | 073d5a4f2b32497e29ed6363e6364f9fee365f43 (patch) | |
tree | 93e2b4f18b8d35d322f9e216a8f9b942e79adbec | |
parent | a8ad183880c3a6cb0284a6474201ebc521645f5e (diff) | |
parent | 223f5f72d95cd1e9256eb51a9b9df4c4fc6e8cb7 (diff) |
Merge #372541 from ~sylvain-pineau/plainbox-provider-checkbox:fix-1839903
-rwxr-xr-x | bin/fde_tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/fde_tests.py b/bin/fde_tests.py index 3008735..fd9ea14 100755 --- a/bin/fde_tests.py +++ b/bin/fde_tests.py @@ -28,7 +28,10 @@ def main(): base_mount = '/' if on_desktop else '/writable' # discover the underlying mount point for the encrypted part - cmd = 'findmnt {} -n -o SOURCE'.format(base_mount) + if on_desktop: + cmd = 'findmnt {} -n -o SOURCE'.format(base_mount) + else: + cmd = 'findfs LABEL=writable' print('+ {}'.format(cmd)) try: source = sp.check_output(cmd, shell=True).decode( |