From f2ef99d0ac3cde7469da9a0b35a66043d13acc4a Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 29 Dec 2021 16:55:20 +0000 Subject: updates --- bin/chrooted | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3