mirror of
https://github.com/DominicBreuker/pspy.git
synced 2025-12-21 11:44:51 +00:00
add tests for fswatcher package
This commit is contained in:
committed by
Dominic Breuker
parent
94a12cf031
commit
1deb4838a5
@@ -74,7 +74,7 @@ func root(cmd *cobra.Command, args []string) {
|
||||
LogPS: logPS,
|
||||
LogFS: logFS,
|
||||
}
|
||||
iw, err := fswatcher.NewInotifyWatcher()
|
||||
iw, err := fswatcher.NewFSWatcher()
|
||||
if err != nil {
|
||||
logger.Errorf("Can't initialize fswatcher: %v", err)
|
||||
os.Exit(1)
|
||||
|
||||
Reference in New Issue
Block a user