mirror of
https://github.com/clonos/control-pane.git
synced 2026-04-27 05:35:55 +03:00
[GH-ISSUE #35] Possible bug #24
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/control-pane#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @bozhinov on GitHub (Jan 26, 2021).
Original GitHub issue: https://github.com/clonos/control-pane/issues/35
Originally assigned to: @olevole on GitHub.
github.com/clonos/control-pane@aef78b7125/php/clonos.php (L2062)$add_cmd=($in_helper)?' default_jailname='.$this->url_hash:'';
$add_cmd1=' default_jailname='.$type;
$res=$this->cbsd_cmd("freejname".$add_cmd.$add_cmd1);
after refactoring this translates to:
if ($in_helper) {
$res = CBSD::run('freejname default_jailname=%s default_jailname=%s', array($this->url_hash, $type));
} else {
$res = CBSD::run('freejname default_jailname=%s', array($type));
}
The double default_jailname looks weird
it this correct ?
@olevole commented on GitHub (Feb 21, 2021):
@moveee cbsd assumes one argument for
default_jname. Can you check and remove the dubbing?