Skip to content

Commit

Permalink
Merge pull request #22 from krieger-od/master
Browse files Browse the repository at this point in the history
Various enhancements
  • Loading branch information
aluzzardi committed Sep 30, 2015
2 parents 1d86977 + 52c59e7 commit b96b4f7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/pamusb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ See http://www.pamusb.org/doc/configuring
<user id="scox">
<device>MyDevice</device>
<option name="quiet">true</option>
<agent event="lock">gnome-screensaver-command --lock</agent>
<agent event="unlock">gnome-screensaver-command --deactivate</agent>
<agent event="lock">gnome-screensaver-command -\-lock</agent>
<agent event="unlock">gnome-screensaver-command -\-deactivate</agent>
</user>

Configure user root to authenticate using MyDevice, but update one
Expand Down
1 change: 1 addition & 0 deletions src/volume.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ char *pusb_volume_get(t_pusb_options *opts, DBusConnection *dbus)
if (!mount_point)
{
log_error("Unable to retrieve %s mount point\n", volume_udi);
pusb_volume_destroy(mount_point);
return (NULL);
}
return (mount_point);
Expand Down
2 changes: 1 addition & 1 deletion tools/pamusb-agent
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (c) 2003-2007 Andrea Luzzardi <[email protected]>
#
Expand Down
2 changes: 1 addition & 1 deletion tools/pamusb-conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
#
# Copyright (c) 2003-2007 Andrea Luzzardi <[email protected]>
#
Expand Down

0 comments on commit b96b4f7

Please sign in to comment.