browser/firefox: rename bin scripts & return proper exit codes
This commit is contained in:
parent
25b1e5f8a9
commit
592d158f49
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
import sys
|
||||
from pyfzf import FzfPrompt
|
||||
from lib.FirefoxProfile import FirefoxProfile
|
||||
|
||||
|
@ -10,3 +11,4 @@ with FirefoxProfile.default() as ff:
|
|||
ff.browse("http" + choice[0].split(", http")[1])
|
||||
else:
|
||||
print("Aborted")
|
||||
sys.exit(1)
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python2
|
||||
|
||||
import sys
|
||||
from pyfzf import FzfPrompt
|
||||
from lib.FirefoxProfile import FirefoxProfile
|
||||
|
||||
|
@ -10,3 +11,4 @@ with FirefoxProfile.default() as ff:
|
|||
ff.browse("http" + choice[0].split(", http")[1])
|
||||
else:
|
||||
print("Aborted")
|
||||
sys.exit(1)
|
Loading…
Reference in a new issue