mirror of
https://github.com/rancher/os.git
synced 2025-08-31 22:32:14 +00:00
Fix ros dev panic
This commit is contained in:
@@ -2,10 +2,13 @@ package control
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/codegangsta/cli"
|
||||
"github.com/rancher/os/util"
|
||||
)
|
||||
|
||||
func devAction(c *cli.Context) {
|
||||
fmt.Println(util.ResolveDevice(c.Args()[0]))
|
||||
if len(c.Args()) > 0 {
|
||||
fmt.Println(util.ResolveDevice(c.Args()[0]))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user