edited hatorihanzo so that you can choose to just print the uid once you have root and exit (easier for repeated execution by a shell script