userns-block-fd: Search $PATH for python

On systems without the /usr merge, it's almost certainly in /usr,
so this script would have failed.

Signed-off-by: Simon McVittie <smcv@collabora.com>

Closes: #246
Approved by: giuseppe
This commit is contained in:
Simon McVittie
2017-10-31 15:20:49 +00:00
committed by Atomic Bot
parent 4ff4c9286f
commit 30338c3f0d

View File

@@ -1,4 +1,4 @@
#!/bin/python
#!/usr/bin/env python
import os, select, subprocess, json