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 1fd3ec1cd0
commit d36ac248e2
1 changed files with 1 additions and 1 deletions

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)