🐛 Fixed command error in fake flush echo output
This commit is contained in:
parent
ebaa1676f7
commit
93f42dc430
1 changed files with 2 additions and 2 deletions
|
@ -199,10 +199,10 @@ _fake_disable () { #------[ Disable Daeon at Startup ]
|
|||
# │ Other Functions │
|
||||
# └───────────────────────────────────────┘
|
||||
_fake_flush () { #--------[ Flush System Cache ]
|
||||
MEM_START="$(fake -h | grep Mem | awk '{print $4}')"
|
||||
MEM_START="$(free -h | grep Mem | awk '{print $4}')"
|
||||
echo ""
|
||||
sudo -u root $ENV_SHELL -c "sync; echo 3 > /proc/sys/vm/drop_caches"
|
||||
MEM_END="$(fake -h | grep Mem | awk '{print $4}')"
|
||||
MEM_END="$(free -h | grep Mem | awk '{print $4}')"
|
||||
echo ""
|
||||
echo "Free Memory: $MEM_START -> $MEM_END"
|
||||
echo ""
|
||||
|
|
Loading…
Reference in a new issue