From 3a781f925c170e56491897752aea448f4ea4bcf8 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 4 Dec 2019 02:06:56 +0100 Subject: Better code, removed some leaks --- src/jo_notify.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/jo_notify.cpp') diff --git a/src/jo_notify.cpp b/src/jo_notify.cpp index 9f4c7de..1c54a40 100644 --- a/src/jo_notify.cpp +++ b/src/jo_notify.cpp @@ -7,7 +7,6 @@ jo_notify(const string batlvl) { str = "notify-send \"Low battery: "; str += batlvl; str += "%\" \"Please plug in computer\" -u critical -t 15000"; - return system(str.c_str()); } -- cgit v1.2.3