diff options
Diffstat (limited to '')
-rwxr-xr-x | bin/chrooted | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/chrooted b/bin/chrooted index 069bef6..6815dda 100755 --- a/bin/chrooted +++ b/bin/chrooted @@ -1,4 +1,5 @@ -#!/usr/bin/bash +#!/bin/sh + if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then echo "We are chrooted!" else |