command run return value bugfix
This commit is contained in:
@@ -127,7 +127,7 @@ func (d *database) GetCmd(name string) (string, error) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
return name, nil
|
||||
return cmd, nil
|
||||
}
|
||||
|
||||
// gets all saved commands
|
||||
|
Reference in New Issue
Block a user