diff options
author | terminaldweller <thabogre@gmail.com> | 2021-12-29 16:55:20 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-12-29 16:55:20 +0000 |
commit | f2ef99d0ac3cde7469da9a0b35a66043d13acc4a (patch) | |
tree | 7349c560d39c0489aac59f8d3dfe05aa8a65c9e3 /bin | |
parent | more updates. some chroot stuff (diff) | |
download | scripts-f2ef99d0ac3cde7469da9a0b35a66043d13acc4a.tar.gz scripts-f2ef99d0ac3cde7469da9a0b35a66043d13acc4a.zip |
updates
Diffstat (limited to 'bin')
-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 |