[packages/rpm-build-tools] no-net: correct scope of final command invocation

atler atler at pld-linux.org
Tue Feb 10 19:53:30 CET 2026


commit 703e3d286ed2ff6312fed69eb1f09e1d3b01e72b
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Feb 10 18:38:33 2026 +0100

    no-net: correct scope of final command invocation

 no-net.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/no-net.sh b/no-net.sh
index e3f3fdd..aee3f5d 100755
--- a/no-net.sh
+++ b/no-net.sh
@@ -64,6 +64,6 @@ if test -x $IP; then
     $IP l set lo up
   fi
   unset addr
-  exec unshare --map-user $(id -un) --map-group $(id -gn) "\$@"
 fi
+exec unshare --map-user $(id -un) --map-group $(id -gn) "\$@"
 EOF
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/542a8ce64e4802038940dd01903308170067b469



More information about the pld-cvs-commit mailing list