Skip to content
Snippets Groups Projects
Commit ecf5749c authored by guinux's avatar guinux
Browse files

fix #367

parent ceac614e
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,10 @@ namespace Pamac { ...@@ -69,6 +69,10 @@ namespace Pamac {
} }
public override int command_line (ApplicationCommandLine cmd) { public override int command_line (ApplicationCommandLine cmd) {
// fix #367
if (manager_window == null) {
return 1;
}
if (cmd.get_arguments ()[0] == "pamac-updater") { if (cmd.get_arguments ()[0] == "pamac-updater") {
if (!started) { if (!started) {
manager_window.update_lists (); manager_window.update_lists ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment