Shebang incorrect in /usr/bin/clpctl #230

Closed
opened 2026-04-05 20:26:01 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @cswiers on 6/10/2024

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

*Originally created by @cswiers on 6/10/2024* ### 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_
Sign in to join this conversation.