When using read-only commands (such as osgi:info), Karaf ask for a confirmation on system bundle:
karaf@root> osgi:info 43
You are about to access system bundle 43. Do you want to continue (yes/no): yes
As the command is read-only, it doesn't make sense to ask for confirmation.