aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ali Polatel <alip@exherbo.org> 2011-01-28 13:59:43 +0200
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-28 12:01:56 +0000
commit47aba1e1a57867a0540e5c124ca9eaede7d5e7ee (patch)
tree82621576d1a81d7ec9128fffdb94a0137903e108
parent9f9803c0fdd8e652bbe7681331c3a52576aa5a11 (diff)
downloadpaludis-47aba1e1a57867a0540e5c124ca9eaede7d5e7ee.tar.gz
paludis-47aba1e1a57867a0540e5c124ca9eaede7d5e7ee.tar.xz
sydbox.bash: allow network aliases to be whitelisted
-rw-r--r--paludis/repositories/e/ebuild/sydbox.bash4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/sydbox.bash b/paludis/repositories/e/ebuild/sydbox.bash
index 4d9aa48..69ad3ea 100644
--- a/paludis/repositories/e/ebuild/sydbox.bash
+++ b/paludis/repositories/e/ebuild/sydbox.bash
@@ -61,7 +61,9 @@ sydbox_internal_net()
sydbox_internal_cmd "${cmd}/unix://${1##unix:}"
;;
*)
- die "${FUNCNAME}: unexpected argument \"${1}\""
+ # Expect network alias.
+ # Sydbox does input validation so we don't do any here.
+ sydbox_internal_cmd "${cmd}/${1}"
;;
esac
shift