commit 07f80095de399f714ef069419ebad59a0dfe8442
parent fcab3bfb7fd2cbcc9af7fd17ca69dd150f3f439d
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 16 Dec 2021 15:37:30 +0000
execve instead of execv
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbin/pidns_run b/sbin/pidns_run
@@ -48,7 +48,7 @@ def main(argv):
os.execve(argv[1], argv[1:], env)
for d in os.environ['PATH'].split(':'):
try:
- os.execv(os.path.join(d, argv[1]), argv[1:], env)
+ os.execve(os.path.join(d, argv[1]), argv[1:], env)
except FileNotFoundError:
continue
raise SystemExit(127)