Skip to content

Commit 31bc84e

Browse files
committed
simplify conditional for rootfs check
1 parent 1dda8ae commit 31bc84e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rorw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ BEGIN {
55
ARGV[1]="/proc/mounts";
66
}
77
{
8-
if ( $2 == "/" && $3 != "rootfs" ) {
8+
if ( $2 == "/" ) {
99
print $4;
1010
}
1111
}

0 commit comments

Comments
 (0)