summaryrefslogtreecommitdiffstats
path: root/perl-install/network/tools.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/tools.pm')
-rw-r--r--perl-install/network/tools.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm
index 489e0d966..3d75a3073 100644
--- a/perl-install/network/tools.pm
+++ b/perl-install/network/tools.pm
@@ -36,7 +36,7 @@ sub write_secret_backend {
sub unquotify {
my ($word) = @_;
my ($a, $b, $c) = $$word =~ /"(.*)"|'(.*)'|(.*)/;
- $$word = $a ? $a : $b ? $b : $c;
+ $$word = $a || $b || $c;
}
sub read_secret_backend {