Skip to content

Commit 0b2d6ab

Browse files
zhangzifa穆客
authored andcommitted
fix disk issue
1 parent 99e05f1 commit 0b2d6ab

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

get_disk_usage

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/sh
22

3+
if [ $# != 0 ]; then
4+
df -P $@
5+
exit 0
6+
fi
7+
38
IsInContainer=false
49

510
CGROUP=/proc/1/cgroup

0 commit comments

Comments
 (0)