summaryrefslogtreecommitdiff
path: root/src/basic/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/util.c')
-rw-r--r--src/basic/util.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/basic/util.c b/src/basic/util.c
index 66bb00b982..8c5e88f00c 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -179,16 +179,6 @@ void rename_process(const char name[8]) {
}
}
-int running_in_chroot(void) {
- int ret;
-
- ret = files_same("/proc/1/root", "/");
- if (ret < 0)
- return ret;
-
- return ret == 0;
-}
-
noreturn void freeze(void) {
/* Make sure nobody waits for us on a socket anymore */