* we do not allow user specify a certain daemon when starting an
interactive session. the existing error message could lead to
some confusion. so put more details in it.
Fixes: #11101
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit
972dc9145235ff0f60663369ebcab8c16628b89f)
childargs = injectargs
if not len(childargs):
print >> sys.stderr, \
- 'Cannot use \'tell\' with interactive mode'
+ 'Cannot use \'tell\' with interactive mode.', \
+ 'For an interactive shell,', \
+ 'please start "{0}" without non-option arguments.'.format(sys.argv[0])
return errno.EINVAL
# fetch JSON sigs from command