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
CloudPanel version(s) affected
2.4.2
Description
Shebang incorrect in
/usr/bin/clpctl
. This causes thesh
shell to be used instead of the intendedbash
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