Archived
1
0
Fork 0

dlight.c: do not call perror when dlhist_open() fails

This commit is contained in:
Henrik Hautakoski 2011-11-05 16:45:43 +01:00
parent dcd515b4b1
commit 90365e9de2

View file

@ -118,10 +118,8 @@ int main(int argc, char *argv[]) {
return 1;
}
if (dlhist_open() < 0) {
perror("dlhist");
if (dlhist_open() < 0)
return 1;
}
process(config);