[Usbmount-commit] r75 - usbmount/trunk
Rogério Brito
rbrito-guest at alioth.debian.org
Fri Nov 6 04:07:08 UTC 2009
Author: rbrito-guest
Date: 2009-11-06 04:07:07 +0000 (Fri, 06 Nov 2009)
New Revision: 75
Modified:
usbmount/trunk/usbmount
Log:
Include a safety net to log unexpected actions. Many of these changes
are thanks to Cristian Ionescu-Idbohrn.
Modified: usbmount/trunk/usbmount
===================================================================
--- usbmount/trunk/usbmount 2009-11-06 04:03:24 UTC (rev 74)
+++ usbmount/trunk/usbmount 2009-11-06 04:07:07 UTC (rev 75)
@@ -202,7 +202,9 @@
break
fi
done < /proc/mounts
+else
+ log err "unexpected: action '$1'"
+ exit 1
fi
-log debug "finishing execution of usbmount"
-exit 0
+log debug "usbmount execution finished"
More information about the Usbmount-commit
mailing list