← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~smoser/maas/no-recursive-shutdown into lp:maas

 

Scott Moser has proposed merging lp:~smoser/maas/no-recursive-shutdown into lp:maas.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~smoser/maas/no-recursive-shutdown/+merge/102245

fix recursive call to shutdown function

shutdown() {
   shutdown -P now
}

that will recursively call itself.
-- 
https://code.launchpad.net/~smoser/maas/no-recursive-shutdown/+merge/102245
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~smoser/maas/no-recursive-shutdown into lp:maas.
=== modified file 'etc/maas/commissioning-user-data'
--- etc/maas/commissioning-user-data	2012-04-17 01:31:19 +0000
+++ etc/maas/commissioning-user-data	2012-04-17 06:39:20 +0000
@@ -75,7 +75,7 @@
 
 shutdown() {
     echo "Finished, powering off."
-    shutdown -P now
+    /sbin/shutdown -P now
 }
 
 main() {


Follow ups