l reaktor-coders: use correct ping path

This commit is contained in:
lassulus 2018-04-05 17:36:57 +02:00
parent 19895a67ff
commit f316bb1f31

View File

@ -84,7 +84,7 @@ with import <stockholm/lib>;
(buildSimpleReaktorPlugin "ping" {
pattern = "^!ping (?P<args>.*)$$";
script = pkgs.writeDash "ping" ''
exec /var/setuid-wrappers/ping -q -c1 "$1" 2>&1 | tail -1
exec /run/wrappers/bin/ping -q -c1 "$1" 2>&1 | tail -1
'';
})
];