mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
remove print
This commit is contained in:
parent
1810af8d02
commit
2b14e6b1af
@ -20,7 +20,6 @@ func getLock() *viper.Viper {
|
|||||||
lock = viper.New()
|
lock = viper.New()
|
||||||
lock.SetDefault("running", false)
|
lock.SetDefault("running", false)
|
||||||
p := viper.ConfigFileUsed()
|
p := viper.ConfigFileUsed()
|
||||||
colors.Primary.Println(p)
|
|
||||||
if p == "" {
|
if p == "" {
|
||||||
colors.Error.Println("cannot lock before reading config location")
|
colors.Error.Println("cannot lock before reading config location")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
Loading…
Reference in New Issue
Block a user