mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
Shebang incorrect in /usr/bin/clpctl #230
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @cswiers on 6/10/2024
CloudPanel version(s) affected
2.4.2
Description
Shebang incorrect in
/usr/bin/clpctl. This causes theshshell to be used instead of the intendedbashshell causing a variety of issues when combining with other commands.Is:
#/bin/bashShould be:
#!/bin/bashHow to reproduce
Execute the following command inside a terminal where cloudpanel is installed:
cat /usr/bin/clpctlPossible Solution
Is:
#/bin/bashShould be:
#!/bin/bashAdditional Context
No response