chiark / gitweb /
Dgit.pm: rename_link_xf: Minor style fix
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2018 23:35:52 +0000 (00:35 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2018 23:58:26 +0000 (00:58 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Debian/Dgit.pm

index b8a1b8c..08a5b6c 100644 (file)
@@ -439,7 +439,8 @@ sub rename_link_xf ($$$) {
        ? link   $src, $dst
        : rename $src, $dst) {
        return 1;
-    } elsif ($! != EXDEV) {
+    }
+    if ($! != EXDEV) {
        $@ = "$!";
        return 0;
     }