Skip to content

Commit

Permalink
Hardware Profile: replace --real with --fstab
Browse files Browse the repository at this point in the history
--real fails on *buntu.
  • Loading branch information
Bill Meek committed Dec 16, 2019
1 parent b49b875 commit eba3aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/scripts/hardwareprofile/config.py
Expand Up @@ -30,7 +30,7 @@

try:
# This doesn't appear to be used and the old rpm command didn't return mounts.
p = Popen(['findmnt', '--noheadings', '--output', 'TARGET', '--raw', '--real'], stdout=PIPE)
p = Popen(['findmnt', '--noheadings', '--output', 'TARGET', '--raw', '--fstab'], stdout=PIPE)
FS_MOUNTS = p.stdout.read().decode('utf-8')
except OSError:
FS_MOUNTS = ''
Expand Down

0 comments on commit eba3aac

Please sign in to comment.