cloudpanel-io / cloudpanel-ce

1.27k stars 106 forks source link

Shebang incorrect in /usr/bin/clpctl #476

Open cswiers opened 4 months ago

cswiers commented 4 months ago

CloudPanel version(s) affected

2.4.2

Description

Shebang incorrect in /usr/bin/clpctl. This causes the sh shell to be used instead of the intended bash shell causing a variety of issues when combining with other commands. Is: #/bin/bash Should be: #!/bin/bash

How to reproduce

Execute the following command inside a terminal where cloudpanel is installed: cat /usr/bin/clpctl

Possible Solution

Is: #/bin/bash Should be: #!/bin/bash

Additional Context

No response

cloudpanel-io commented 4 months ago

Thanks, @cswiers, for reporting it.