Correct repair of salt-call -g

This commit is contained in:
Thomas S Hatch 2012-03-19 16:30:35 -06:00
parent 9600435b92
commit 82426ba9a4

View File

@ -711,7 +711,7 @@ class SaltCall(object):
if len(args) >= 1:
opts['fun'] = args[0]
opts['arg'] = args[1:]
elif opts['grains']:
elif opts['grains_run']:
pass
else:
# salt-call should not ever be called without arguments