]> git.zerfleddert.de Git - m1-debian/commitdiff
typo
authorThomas Glanzmann <thomas@glanzmann.de>
Sat, 26 Feb 2022 18:51:23 +0000 (19:51 +0100)
committerThomas Glanzmann <thomas@glanzmann.de>
Sat, 26 Feb 2022 18:51:23 +0000 (19:51 +0100)
files/wifi.pl

index dad4758959552c524f501a5d206cd3310e02837d..d0f8156b55578c8dec86b83b47135f18942c91d8 100755 (executable)
@@ -14,7 +14,7 @@ for (`blkid`) {
 
 for my $dev (@vfat_devices) {
         system("mount -o ro $dev /mnt");
-        if (test -f $firmware_tarball) {
+        if (-f $firmware_tarball) {
                 system("tar -C /lib/firmware/ -xf $firmware_tarball");
                 system('rmmod brcmfmac');
                 system('rmmod brcmutil');
Impressum, Datenschutz