fix key error when ephemeral-unmount is not defined

This commit is contained in:
Ryan Beisner 2015-08-04 03:31:02 +00:00
parent ce05133836
commit 93110614f7

View File

@ -125,7 +125,7 @@ def config_changed():
sync_db_with_multi_ipv6_addresses(config('database'),
config('database-user'))
e_mountpoint = conf['ephemeral-unmount']
e_mountpoint = config('ephemeral-unmount')
if e_mountpoint and filesystem_mounted(e_mountpoint):
umount(e_mountpoint)