fix xbacklight.c

This commit is contained in:
Fabrice Mouhartem 2022-07-17 10:18:36 +02:00
parent c621ac4cf1
commit 7a3e98620b
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ depends=('python')
provides=('xorg-xbacklight')
conflicts=('xorg-xbacklight')
source=(xbacklight.c ${pkgname}-${pkgver}.tar.bz2::$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2)
sha512sums=('62619f38cb6ffe6f339463771d9d1fdac47a52bac7b4dbedbfa7dedbafc0bb90e0bc253267165b2e80c4bde0b84a5710674582b1a4f771d51fc8b76f68542556'
sha512sums=('0ce7d6cd2fb28959d39bd6011e4925fbea2852d36996d13fcdbc30bce0d03a05cdfef00b61bd5b05f66e2e9f167b9e68e0008091d4db1122e88ceab94a8b1085'
'e129de51911df83224ab99c0e7c9cda8058ee748e11473595add0e22367b21716fe62e14461300ca812c4be3485138b7f0f4823d848e3a0386680522621ec121')

View File

@ -12,6 +12,7 @@ int main (int argc, char** argv)
args[argc] = NULL;
execv("/opt/xbacklight", args);
free(args);
return 0;
}