aboutsummaryrefslogtreecommitdiffstats
path: root/bin/get_cpu_status
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-05-11 17:14:42 +0200
committerDavid Runge <dave@sleepmap.de>2017-05-11 17:14:42 +0200
commitbaa2776f8499b1621c1932e93df8a1b749131cfe (patch)
treee57264d16db3e3ee6023f08588f8ed2a598786ac /bin/get_cpu_status
parente0bc51315d23c96d4a7140cca19be6117a42e5e3 (diff)
downloaddotfiles-baa2776f8499b1621c1932e93df8a1b749131cfe.tar.gz
dotfiles-baa2776f8499b1621c1932e93df8a1b749131cfe.tar.bz2
dotfiles-baa2776f8499b1621c1932e93df8a1b749131cfe.tar.xz
dotfiles-baa2776f8499b1621c1932e93df8a1b749131cfe.zip
bin/get_*: Always exit with 0.
Diffstat (limited to 'bin/get_cpu_status')
-rwxr-xr-xbin/get_cpu_status1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/get_cpu_status b/bin/get_cpu_status
index 2aece18..18b5c16 100755
--- a/bin/get_cpu_status
+++ b/bin/get_cpu_status
@@ -8,3 +8,4 @@ proc_output=$(grep 'cpu ' /proc/stat | awk '{usage=($2+$4)*100/($2+$4+$5)} END {
proc_output=${proc_output#" "}
echo "$proc_output%"
+exit 0