summaryrefslogtreecommitdiff
path: root/subCommand.go
diff options
context:
space:
mode:
Diffstat (limited to 'subCommand.go')
-rw-r--r--subCommand.go11
1 files changed, 8 insertions, 3 deletions
diff --git a/subCommand.go b/subCommand.go
index 33078f0..ca91360 100644
--- a/subCommand.go
+++ b/subCommand.go
@@ -21,10 +21,15 @@ func subCommand() (string, error) {
if argv.Linux != nil {
if argv.Linux.Rdate != nil {
- s, err = doRdate()
- } else {
- setTerminalTitle("pinging google", "ping", []string{"google.com"})
+ return doRdate()
+ }
+ if argv.Linux.Reboots != nil {
+ return doReboots()
+ }
+ if argv.Linux.Dmesg != nil {
+ return doDmesg()
}
+ setTerminalTitle("pinging google", "ping", []string{"google.com"})
}
if argv.Build != nil {