~fnux/pisk

8b1d082a5fc9fd1ce3a1a1a3038c9cb08333c188 — Timothée Floure 1 year, 9 months ago 7a2d4b6
Fix UI error when executing system action ((un)mount, swap{on,off})
1 files changed, 1 insertions(+), 1 deletions(-)

M pisk
M pisk => pisk +1 -1
@@ 333,7 333,7 @@ sub handle_udisks2_action {
	my ($cui, $action, $device) = @_;

	my $action_result = eval { $action->(); };
	if ( not $action_result ) { $cui->error($@); }
	if ( $@ ) { $cui->error($@); }

	return;
}