Skip to content

Commit 367f024

Browse files
committed
config: sudo check for niceOS.hash
1 parent 8590318 commit 367f024

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ function dd() {
8282
}
8383

8484
if ! which sudo &> /dev/null; then
85+
[ -e /usr/src/niceOS.hash ] || dd "Sudo not found in PATH"
8586
function sudo() {
8687
COM="$@"
8788
#( echo "Sudo command:" && echo "$COM" && sleep 10 ) > /dev/stderr

0 commit comments

Comments
 (0)