forked from cromer/pamac-classic
fix build cancellation
This commit is contained in:
parent
df8287f08f
commit
89f92b72b9
@ -379,7 +379,8 @@ namespace Pamac {
|
|||||||
}
|
}
|
||||||
} catch (Error e) {
|
} catch (Error e) {
|
||||||
// cancelled
|
// cancelled
|
||||||
process.send_signal (Posix.SIGTERM);
|
process.send_signal (Posix.SIGINT);
|
||||||
|
process.send_signal (Posix.SIGKILL);
|
||||||
}
|
}
|
||||||
Idle.add ((owned) callback);
|
Idle.add ((owned) callback);
|
||||||
});
|
});
|
||||||
@ -1095,7 +1096,7 @@ namespace Pamac {
|
|||||||
stderr.printf ("IOError: %s\n", e.message);
|
stderr.printf ("IOError: %s\n", e.message);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
show_in_term (dgettext (null, "Transaction cancelled") + ".\n");
|
show_in_term ("\n" + dgettext (null, "Transaction cancelled") + ".\n");
|
||||||
warning_textbuffer = new StringBuilder ();
|
warning_textbuffer = new StringBuilder ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user