mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
clpctl: 5: printf: %q: invalid directive #166
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 @jfortunato on 11/15/2024
CloudPanel version(s) affected
6.0.8 (cli)
Description
There is a bug/typo in the
/usr/bin/clpctlshell script that causes some commands to fail with this error.How to reproduce
This works fine
clpctl db:show:master-credentialsEither of these result in an error
sudo clpctl db:show:master-credentialssh -c 'clpctl db:show:master-credentials'Possible Solution
The first line in
/usr/bin/clpctlis:#/bin/bashbut this should be changed to:#!/bin/bashWhen I manually make this change both of the failed commands above work fine.
Additional Context
Probably related:
#360
#258
#136