Skip to content

Commit

Permalink
Merge pull request #49 from sailfishos/remove_unused_function
Browse files Browse the repository at this point in the history
[sailfish-utilities] Remove unused function. Contributes to JB#44879
  • Loading branch information
pvuorela authored Feb 21, 2019
2 parents 24d04e1 + cb5dfbb commit 893c215
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tools/sailfish_tools_system_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,6 @@ void system(std::string const &cmd)
throw Error(cmd);
}

void service_do(const std::string &name, const std::string &action)
{
std::stringstream cmd_line;
cmd_line << "systemctl " << action << " " << name << ".service";
system(cmd_line.str());
}

void execute_own_utility(std::string const &file_name)
{
system((application_dir + "/" + file_name));
Expand Down

0 comments on commit 893c215

Please sign in to comment.