aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-12-29 16:55:20 +0000
committerterminaldweller <thabogre@gmail.com>2021-12-29 16:55:20 +0000
commitf2ef99d0ac3cde7469da9a0b35a66043d13acc4a (patch)
tree7349c560d39c0489aac59f8d3dfe05aa8a65c9e3 /bin
parentmore updates. some chroot stuff (diff)
downloadscripts-f2ef99d0ac3cde7469da9a0b35a66043d13acc4a.tar.gz
scripts-f2ef99d0ac3cde7469da9a0b35a66043d13acc4a.zip
updates
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chrooted3
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