On Tue, Mar 27, 2007 at 11:51:15AM +0200, Tim Dijkstra wrote: > Hi. > > Sometimes it seems relevant for the thing calling s2both to know what > route we took in the end, be it s2ram or s2disk. > > Would you think returning a value is a suitable way of communicating > that to the user? Would some scripts maybe break, because they only > expect 0 in case of success?
I don't know of any that would break, at least not for the s2both case. pm-utils could easily determine from the return code if it is an error or not. -- Stefan Seyfried "Any ideas, John?" "Well, surrounding them's out." ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel