You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Roland Hauser (JIRA)" <ji...@apache.org> on 2017/05/24 12:56:04 UTC

[jira] [Created] (KARAF-5143) Command cannot be executed via SSH when property "karaf.shell.init.script" (etc/system.properties) has its default value

Roland Hauser created KARAF-5143:
------------------------------------

             Summary: Command cannot be executed via SSH when property "karaf.shell.init.script" (etc/system.properties) has its default value
                 Key: KARAF-5143
                 URL: https://issues.apache.org/jira/browse/KARAF-5143
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 4.1.1
            Reporter: Roland Hauser


Method executeScript on class org.apache.karaf.shell.ssh.ShellCommand cannot handle input value "etc/shell.init.script,etc/scripts/*.script" because it interprets it as path which is apparently wrong. The value should be split into tokens using "," as separator. Then it should handle each token either as path (etc/shell.init.script) or as path pattern (etc/scripts/*.script).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)