summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xzram-swap2
1 files changed, 1 insertions, 1 deletions
diff --git a/zram-swap b/zram-swap
index 3ea0ad7..3392433 100755
--- a/zram-swap
+++ b/zram-swap
@@ -23,7 +23,7 @@ MEMTOTAL=$(sed -n 's/^MemTotal: \+\([0-9]\+\) kB/\1/p' /proc/meminfo)
status() {
if [ -f "${RUNFILE}" ]; then
- cat "${RUNFILE}"
+ zramctl $(cat "${RUNFILE}")
else
printf 'stopped\n'
fi

Generated by cgit