fixed : battery disabled when needed

git-svn-id: http://tint2.googlecode.com/svn/trunk@438 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77 2010-04-20 17:22:05 +00:00
parent b9544f0fa0
commit 4d5fe440c8

View file

@ -134,6 +134,7 @@ void init_battery()
g_dir_close(directory);
if (!battery_dir) {
fprintf(stderr, "ERROR: battery applet can't found power_supply\n");
default_battery();
return;
}