Skip to content

Commit

Permalink
args use single not double quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveorevo committed Jun 7, 2023
1 parent 25df13a commit 730e0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/post_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ $hcpp->patch_file(
$hcpp->patch_file(
'/usr/local/hestia/func/main.sh',
'# Internal variables',
'# Internal variables' . "\nPARENT=\$(tr '\\0' '\\n' < \"/proc/\$PPID/cmdline\" | sed 's/.*/\"&\"/')\nif [[ \$PARENT == *sudo* ]]; then\n eval \"\$(/etc/hestiacp/hooks/priv_actions \$PARENT)\"\nfi\n"
'# Internal variables' . "\nPARENT=\$(tr '\\0' '\\n' < \"/proc/\$PPID/cmdline\" | sed 's/.*/'&'/')\nif [[ \$PARENT == *sudo* ]]; then\n eval \"\$(/etc/hestiacp/hooks/priv_actions \$PARENT)\"\nfi\n"
);

// inc/main.php - check for Hestia 1.7.X
Expand Down

0 comments on commit 730e0c0

Please sign in to comment.