mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-24 20:21:52 +08:00
replace Println with Printf
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ func ParsePass(Info *HostInfo) {
|
|||||||
func Readfile(filename string) ([]string, error) {
|
func Readfile(filename string) ([]string, error) {
|
||||||
file, err := os.Open(filename)
|
file, err := os.Open(filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Open %s error, %v", filename, err)
|
fmt.Printf("Open %s error, %v\n", filename, err)
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
defer file.Close()
|
defer file.Close()
|
||||||
|
|||||||
Reference in New Issue
Block a user