Skip to content

z4h:2: -z4h-cmd-sudo: function definition file not found #373

Description

@IAmHugh001

I just used Topgrade to do my updates and Flaresolverr was one of them. Normally any app that has a systemd service I stop after it's update and the restart. This time when I did sudo systemctl stop flaresolverr I get the below.

 ~  sudo systemctl stop flaresolverr                                                                                                                                                                                                                              ✔  1m 37s  03:16:24 AM 
z4h:2: -z4h-cmd-sudo: function definition file not found
 ~  sudo systemctl stop flaresolverr                                                                                                                                                                                                                                     1 ✘  03:16:41 AM 
z4h:2: -z4h-cmd-sudo: function definition file not found

I've been using sh -c "$(curl -fsSL https://raw.githubusercontent.com/romkatv/zsh4humans/v5/install)" to install zshforhumans and haven't had any issues til now. I just checked and sudo is still installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions