[
https://issues.apache.org/jira/browse/KARAF-614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean-Baptiste Onofré reopened KARAF-614:
----------------------------------------
It could be helpful for the users who exactly know what they do to have a -f /
--force option to not display the confirmation message.
> Add warning to osgi:shutdown to avoid inadvertently shutting down the
> container
> -------------------------------------------------------------------------------
>
> Key: KARAF-614
> URL: https://issues.apache.org/jira/browse/KARAF-614
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.2.0
> Reporter: Gert Vanthienen
> Assignee: Jean-Baptiste Onofré
> Fix For: 2.1.6, 2.2.2, 3.0.0
>
>
> When being remotely logged into the container, people can mistakenly use
> osgi:shutdown to exit the console instead of pressing Ctrl-D, thereby
> inadvertently shutting down the container. It would be good if the shell
> would at least ask for a confirmation to ensure people really know what
> they're doing (not sure if we can or even should discriminate between remote
> and local logons to the shell for this).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira