quote the echo account created part

This commit is contained in:
Arya Kiran 2023-01-08 09:13:01 +05:30
parent a10b9a75c2
commit a61367953b
No known key found for this signature in database
GPG Key ID: 3A6EA2D0EE314EEF
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func SignupPage(c *fiber.Ctx) error {
"# This file is generated by publapi. Do not edit this file.\n" +
"useradd -Um -s /bin/bash " + username + "\n" +
"printf \"%s\\n%s\"" + " '" + pass + "' '" + pass + "' | passwd " + username + "\n" +
"echo " + username + "'s account has been created!"
"echo \"" + username + "'s account has been created!\""
fmt.Println(bashscript)