forked from Lainports/opnsense-ports
12 lines
481 B
Text
12 lines
481 B
Text
--- share/shutter/resources/modules/Shutter/App/HelperFunctions.pm.orig 2015-09-17 16:09:58 UTC
|
|
+++ share/shutter/resources/modules/Shutter/App/HelperFunctions.pm
|
|
@@ -53,7 +53,8 @@ sub new {
|
|
|
|
sub xdg_open {
|
|
my ( $self, $dialog, $link, $user_data ) = @_;
|
|
- system("xdg-open $link");
|
|
+ my @args = ("xdg-open", "$link");
|
|
+ system(@args);
|
|
if($?){
|
|
my $response = $self->{_dialogs}->dlg_error_message(
|
|
sprintf( $self->{_d}->get("Error while executing %s."), "'xdg-open'"),
|