clipit gives a "Binding ... failed" warning if the input of pipe doesn't exist.
eg.
cat non_existent_file | clipit gives you the warning.
Returning -1 when such a thing happens before it executes clipit_init().
Maybe you could add a separate warning message here.
clipit
gives a "Binding ... failed" warning if the input of pipe doesn't exist. eg.cat non_existent_file | clipit
gives you the warning. Returning -1 when such a thing happens before it executesclipit_init()
. Maybe you could add a separate warning message here.