Don't require opts in unmounting

This commit is contained in:
Thomas S Hatch 2013-08-01 16:15:13 -06:00
parent de3e80469d
commit a185663ab2

View File

@ -236,13 +236,6 @@ def unmounted(name,
'result': True,
'comment': ''}
# Make sure that opts is correct, it can be a list or a comma delimited
# string
if isinstance(opts, string_types):
opts = opts.split(',')
elif opts is None:
opts = ['defaults']
# Get the active data
active = __salt__['mount.active']()
if name not in active: