Skip to content

Commit

Permalink
screenshot: fix dbus init
Browse files Browse the repository at this point in the history
Signed-off-by: Jed <[email protected]>
(cherry picked from commit 2120664)
Signed-off-by: Jed <[email protected]>
  • Loading branch information
jean-edouard committed Jun 11, 2018
1 parent df30f2a commit 6df560f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions surfman/app/screenshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ int main(int argc, char **argv)
"Saving screenshots for all screens, all domains in directory %s\n",
dir);

dbus_error_init(&err);

c = dbus_bus_get(DBUS_BUS_SYSTEM, &err);

if (!c) {
Expand Down

0 comments on commit 6df560f

Please sign in to comment.