mounted messages to stdout instead of stderr
This commit is contained in:
parent
71b7941e7e
commit
3f1909b233
|
@ -1,6 +1,7 @@
|
|||
0.2.3+
|
||||
allow unmount removed devices
|
||||
[devmon 1.1.1] unmount removed devices if mounted
|
||||
mounted messages to stdout instead of stderr
|
||||
0.2.3 2012-05-27:
|
||||
create /run/media/$USER on demand; add configure --with-setfacl-prog
|
||||
corrected Arch Linux udevil-git AUR package overwriting udevil.conf
|
||||
|
|
|
@ -3302,7 +3302,7 @@ _get_type:
|
|||
else
|
||||
str = g_strdup_printf( "Mounted %s\n",
|
||||
type == MOUNT_NET ? netmount->url : data->device_file );
|
||||
wlog( str, NULL, 1 );
|
||||
wlog( str, NULL, -1 );
|
||||
|
||||
// success_exec
|
||||
if ( !ret )
|
||||
|
@ -3556,7 +3556,7 @@ _get_type:
|
|||
str = g_strdup_printf( "Mounted %s at %s\n",
|
||||
type == MOUNT_NET ? netmount->url : data->device_file,
|
||||
point );
|
||||
wlog( str, NULL, 1 );
|
||||
wlog( str, NULL, -1 );
|
||||
g_free( str );
|
||||
|
||||
// success_exec
|
||||
|
@ -3826,7 +3826,7 @@ static int command_monitor()
|
|||
signal(SIGTERM, command_monitor_finalize );
|
||||
signal(SIGINT, command_monitor_finalize );
|
||||
|
||||
wlog( "Monitoring activity from the disks daemon. Press Ctrl+C to cancel.\n", NULL, 1 );
|
||||
wlog( "Monitoring activity from the disks daemon. Press Ctrl+C to cancel.\n", NULL, -1 );
|
||||
|
||||
// main loop
|
||||
GMainLoop *main_loop = g_main_loop_new( NULL, FALSE );
|
||||
|
|
Loading…
Reference in New Issue
Block a user