1.1 --- a/src/encryptionprovider.py Fri Jun 06 10:06:35 2014 +0200
1.2 +++ b/src/encryptionprovider.py Fri Jun 06 10:47:55 2014 +0200
1.3 @@ -131,7 +131,10 @@
1.4 sys.exit(1)
1.5
1.6 def isDeviceMountedAtMountpoint (device, mountpoint):
1.7 - command = ["/bin/df", mountpoint, "|", "/usr/bin/tail", "-1", "|", "awk", "'{print $1}'"]
1.8 + command = ("/bin/df %s | /usr/bin/tail -1 | awk '{print $1}'" %(mountpoint,))
1.9 +
1.10 + #result = os.popen(command)
1.11 +
1.12 result = runExternalScripts(command)
1.13
1.14 if (result["retcode"] != 0):