diff --git a/scripts/criu-ns b/scripts/criu-ns index 7cbf0b141..7808b02cc 100755 --- a/scripts/criu-ns +++ b/scripts/criu-ns @@ -47,14 +47,6 @@ else: ] _mount.restype = ctypes.c_int -try: - _umount = _libc.umount -except AttributeError: - raise OSError(errno.EINVAL, "umount is not supported on this platform") -else: - _umount.argtypes = [ctypes.c_char] - _umount.restype = ctypes.c_int - def _mount_new_proc(): """